TransformOrientation Data Member Function

Rotates or flips a 1-dimensional array by performing the transformation as if the array were 2-dimensional.

Prototype

int32 TransformOrientation( Int64Iterator first, Int64Iterator last, Int64Iterator dst, Int32Array p_aiParams )

Parameters

Parameter Type Parameter Name Documentation
<Int64Iterator>firstAn iterator at the start of the source range.
<Int64Iterator>lastAn iterator at the end of the source range.
<Int64Iterator>dstAn iterator at the end of the destination range.
<Int32Array>p_aiParamsA pointer to an <Int32Array> containing the params for the transformation. This array must contain exactly 5 items. Index 0 = An integer value representing a value from the ImageRotateOptions enum. Index 1 = An integer value representing a value from the ImageFlipOptions enum. Index 2 = The width of the 2D 'view' of the source array. The width * height must match the number of elements in the array. Index 3 = The height of the 2D 'view' of the source array. The width * height must match the number of elements in the array. Index 4 = Zero or one. This option is undocument at present.

Examples

Copy Text To Clipboard

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