Bruxton Logo

SIDXRotateSet

Syntax

C/C++

int SIDXRotateSet(void* camera, int rotation_count);

Visual Basic

Function SIDXRotateSet(ByVal camera As Long, ByVal rotation_count As Long) As Long

IGOR Pro

SIDXRotateSet camera, rotation_count, status

Parameters

camera
The open camera handle created by either SIDXSettingsOpenCamera or SIDXCameraOpen or SIDXDialogCameraSelector or SIDXSettingsRestoreCamera.
rotation_count
An integer value specifying the image rotation as a signed count of 90 degree clockwise rotations.

Discussion

Sets the number of rotations to perform. Rotates the image by a multiple of 90 degrees either clockwise (positive count) or counter clockwise (negative count). Rotating a total number of 4 results in no changes of the image. The operation is cumulative. That is, making two calls to the function with one of rotation count 2 and one of rotation count 3, resulting in a 90 degree clockwise rotation of the image.