Package jadex.commons.gui
Class ModulateComposite.ModulationContextAccel
- java.lang.Object
-
- jadex.commons.gui.ModulateComposite.ModulationContextAccel
-
- All Implemented Interfaces:
java.awt.CompositeContext
- Enclosing class:
- ModulateComposite
protected class ModulateComposite.ModulationContextAccel extends java.lang.Object implements java.awt.CompositeContext
Accelerated modulation context, based on some assumptions (4 color components, each 8 bits, etc.).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.image.ColorModel
dstColorModel
Destination color model.protected java.awt.image.ColorModel
srcColorModel
Source color model.
-
Constructor Summary
Constructors Constructor Description ModulationContextAccel(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel)
Creates the context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compose(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)
Composes the image.void
dispose()
Disposes context.
-
-
-
Method Detail
-
compose
public void compose(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)
Composes the image.- Specified by:
compose
in interfacejava.awt.CompositeContext
-
dispose
public void dispose()
Disposes context.- Specified by:
dispose
in interfacejava.awt.CompositeContext
-
-