org.apache.batik.ext.awt.image

Class SVGComposite.OverCompositeContext_INT_PACK_UNPRE

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
voidcompose(Raster src, Raster dstIn, WritableRaster dstOut)
voidprecompose_INT_PACK(int width, int height, int[] srcPixels, int srcAdjust, int srcSp, int[] dstInPixels, int dstInAdjust, int dstInSp, int[] dstOutPixels, int dstOutAdjust, int dstOutSp)

Method Detail

compose

public void compose(Raster src, Raster dstIn, WritableRaster dstOut)

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)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.