Copies a rectangular region from the source <Image> to a rectangular region of this <Image> object. The source region will be stretched or shrunk to fit the destination region with no filtering.
int32 StretchBlt( Int32Array p_aiDestinationRectCoords, Image p_oSourceImage, Int32Array p_aiSourceRectCoords )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Int32Array> | p_aiDestinationRectCoords | A pointer to an <Int32Array> containing four <int32> values representing the destination rectangle coordinates. Int[0] = p_nDestX, Int[1] = p_nDestY, Int[2] = p_nDestWidth, Int[3] = p_nDestHeight. |
<Image> | p_oSourceImage | A pointer to the source <Image> object being transferred into this <Image> object. |
<Int32Array> | p_aiSourceRectCoords | A pointer to an <Int32Array> containing four <int32> values representing the source rectangle coordinates. Int[0] = p_nSourceX, Int[1] = p_nSourceY, Int[2] = p_nSourceWidth, Int[3] = p_nSourceHeight. |
None published. Please look for an example in the Scenome Scripting Language code base.