StretchBlt Data Member Function

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.

Prototype

int32 StretchBlt( Int32Array p_aiDestinationRectCoords, Image p_oSourceImage, Int32Array p_aiSourceRectCoords )

Parameters

Parameter Type Parameter Name Documentation
<Int32Array>p_aiDestinationRectCoordsA 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_oSourceImageA pointer to the source <Image> object being transferred into this <Image> object.
<Int32Array>p_aiSourceRectCoordsA 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.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.