TypeLib Xojo support Plugin

RawBitmap.DrawBitmap Method

Draws a RawBitmap into the RawBitmap

DrawBitmap(
   source as RawBitmap,
   x as Integer,
   y as Integer)

Parameters

source
The RawBitmap to be drawn
x
x location to draw at.
y
y location to draw at.

Remarks

This method supports the following features:

  • 8 bit per channel and 16 bit per channel images.

  • RGB, Gray and CMYK color spaces.

  • Alpha channels.


  • NOTEs:
    You cannot draw 8 bit per channel Bitmap into 16 bit per channel Bitmap or wise versa.
    You cannot mix color spaces, like drawing CMYK into RGB bitmap. (Exception to this is that you can draw Gray into RGB).

    When failing for the above mentioned reasons the image is left unchanged.

    See Also

    RawBitmap Class