Rotates or flips a 1-dimensional array by performing the transformation as if the array were 2-dimensional.
int32 TransformOrientation( Int64Iterator first, Int64Iterator last, Int64Iterator dst, Int32Array p_aiParams )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Int64Iterator> | first | An iterator at the start of the source range. |
<Int64Iterator> | last | An iterator at the end of the source range. |
<Int64Iterator> | dst | An iterator at the end of the destination range. |
<Int32Array> | p_aiParams | A 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. |
None published. Please look for an example in the Scenome Scripting Language code base.