Package org.apache.batik.ext.awt.image
Class SVGComposite.OverCompositeContext_INT_PACK_UNPRE
java.lang.Object
org.apache.batik.ext.awt.image.SVGComposite.AlphaPreCompositeContext
org.apache.batik.ext.awt.image.SVGComposite.AlphaPreCompositeContext_INT_PACK
org.apache.batik.ext.awt.image.SVGComposite.OverCompositeContext_INT_PACK_UNPRE
- All Implemented Interfaces:
CompositeContext
- Enclosing class:
SVGComposite
public static class SVGComposite.OverCompositeContext_INT_PACK_UNPRE
extends SVGComposite.AlphaPreCompositeContext_INT_PACK
This implements SRC_OVER for Int packed data where the src is
unpremultiplied. This avoids having to multiply the alpha on the
the source then divide it out again.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compose
(Raster src, Raster dstIn, WritableRaster dstOut) void
precompose_INT_PACK
(int width, int height, int[] srcPixels, int srcAdjust, int srcSp, int[] dstInPixels, int dstInAdjust, int dstInSp, int[] dstOutPixels, int dstOutAdjust, int dstOutSp) Methods inherited from class org.apache.batik.ext.awt.image.SVGComposite.AlphaPreCompositeContext_INT_PACK
precompose
Methods inherited from class org.apache.batik.ext.awt.image.SVGComposite.AlphaPreCompositeContext
dispose
-
Method Details
-
compose
- Specified by:
compose
in interfaceCompositeContext
- Overrides:
compose
in classSVGComposite.AlphaPreCompositeContext
-
precompose_INT_PACK
public void precompose_INT_PACK(int width, int height, int[] srcPixels, int srcAdjust, int srcSp, int[] dstInPixels, int dstInAdjust, int dstInSp, int[] dstOutPixels, int dstOutAdjust, int dstOutSp) - Specified by:
precompose_INT_PACK
in classSVGComposite.AlphaPreCompositeContext_INT_PACK
-