ImageData.blit
- void blit(int op, byte[] srcData, int srcDepth, int srcStride, int srcOrder, int srcX, int srcY, int srcWidth, int srcHeight, int srcRedMask, int srcGreenMask, int srcBlueMask, int alphaMode, byte[] alphaData, int alphaStride, int alphaX, int alphaY, byte[] destData, int destDepth, int destStride, int destOrder, int destX, int destY, int destWidth, int destHeight, int destRedMask, int destGreenMask, int destBlueMask, bool flipX, bool flipY)
class ImageData
static
void
blit
(
,,,,,,,,,,,,,,,,,,,,,,,,,,,,, )
- void blit(int op, byte[] srcData, int srcDepth, int srcStride, int srcOrder, int srcX, int srcY, int srcWidth, int srcHeight, byte[] srcReds, byte[] srcGreens, byte[] srcBlues, int alphaMode, byte[] alphaData, int alphaStride, int alphaX, int alphaY, byte[] destData, int destDepth, int destStride, int destOrder, int destX, int destY, int destWidth, int destHeight, byte[] destReds, byte[] destGreens, byte[] destBlues, bool flipX, bool flipY)
- void blit(int op, byte[] srcData, int srcDepth, int srcStride, int srcOrder, int srcX, int srcY, int srcWidth, int srcHeight, byte[] srcReds, byte[] srcGreens, byte[] srcBlues, int alphaMode, byte[] alphaData, int alphaStride, int alphaX, int alphaY, byte[] destData, int destDepth, int destStride, int destOrder, int destX, int destY, int destWidth, int destHeight, int destRedMask, int destGreenMask, int destBlueMask, bool flipX, bool flipY)
- void blit(int op, byte[] srcData, int srcDepth, int srcStride, int srcOrder, int srcX, int srcY, int srcWidth, int srcHeight, int srcRedMask, int srcGreenMask, int srcBlueMask, int alphaMode, byte[] alphaData, int alphaStride, int alphaX, int alphaY, byte[] destData, int destDepth, int destStride, int destOrder, int destX, int destY, int destWidth, int destHeight, byte[] destReds, byte[] destGreens, byte[] destBlues, bool flipX, bool flipY)
orgeclipseswtgraphicsImageDataImageData
constructorsfunctionsstatic functionsstatic variablesvariables
Blits a direct palette image into a direct palette image. <p> Note: When the source and destination depth, order and masks are pairwise equal and the blitter operation is BLIT_SRC, the masks are ignored. Hence when not changing the image data format, 0 may be specified for the masks. </p>
@param op the blitter operation: a combination of BLIT_xxx flags (see BLIT_xxx constants) @param srcData the source byte array containing image data @param srcDepth the source depth: one of 8, 16, 24, 32 @param srcStride the source number of bytes per line @param srcOrder the source byte ordering: one of MSB_FIRST or LSB_FIRST; ignored if srcDepth is not 16 or 32 @param srcX the top-left x-coord of the source blit region @param srcY the top-left y-coord of the source blit region @param srcWidth the width of the source blit region @param srcHeight the height of the source blit region @param srcRedMask the source red channel mask @param srcGreenMask the source green channel mask @param srcBlueMask the source blue channel mask @param alphaMode the alpha blending or mask mode, may be an integer 0-255 for global alpha; ignored if BLIT_ALPHA not specified in the blitter operations (see ALPHA_MODE_xxx constants) @param alphaData the alpha blending or mask data, varies depending on the value of alphaMode and sometimes ignored @param alphaStride the alpha data number of bytes per line @param alphaX the top-left x-coord of the alpha blit region @param alphaY the top-left y-coord of the alpha blit region @param destData the destination byte array containing image data @param destDepth the destination depth: one of 8, 16, 24, 32 @param destStride the destination number of bytes per line @param destOrder the destination byte ordering: one of MSB_FIRST or LSB_FIRST; ignored if destDepth is not 16 or 32 @param destX the top-left x-coord of the destination blit region @param destY the top-left y-coord of the destination blit region @param destWidth the width of the destination blit region @param destHeight the height of the destination blit region @param destRedMask the destination red channel mask @param destGreenMask the destination green channel mask @param destBlueMask the destination blue channel mask @param flipX if true the resulting image is flipped along the vertical axis @param flipY if true the resulting image is flipped along the horizontal axis