ImageData.blit

Blits a direct palette image into an index palette image. <p> Note: The source and destination masks and palettes must always be fully specified. </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 1, 2, 4, 8 @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 1 @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 destReds the destination palette red component intensities @param destGreens the destination palette green component intensities @param destBlues the destination palette blue component intensities @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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
    class ImageData
    static
    void
    blit
    (
    int op
    ,
    byte[] srcData
    ,,,,
    int srcX
    ,
    int srcY
    ,,,,,,,
    byte[] alphaData
    ,,
    int alphaX
    ,
    int alphaY
    ,
    byte[] destData
    ,,,,
    int destX
    ,
    int destY
    ,,,
    byte[] destReds
    ,
    byte[] destGreens
    ,
    byte[] destBlues
    ,
    bool flipX
    ,
    bool flipY
    )

Meta