Copies a rectangular region from a source <Image> object into this <Image> object. This function uses the <Image> object's BitBlt function.
int32 CopyRect( int32 p_nSourceX, int32 p_nSourceY, int32 p_nSourceWidth, int32 p_nSourceHeight, Image p_oSource )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nSourceX | The source x-coordinate to copy from. |
int32 | p_nSourceY | The source y-coordinate to copy from. |
int32 | p_nSourceWidth | The number of columns to copy from the source image. |
int32 | p_nSourceHeight | The number of rows to copy from the source image. |
<Image> | p_oSource | The <Image> to copy data from. |
None published. Please look for an example in the Scenome Scripting Language code base.