ImageGear Professional v18.4 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > View Functions > IG_vect_view_rotate |
This function rotates the View camera on the specified angle in the specified coordinate plane.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_view_rotate(
HIG_VECT_VIEW hView,
float fAngle,
enumIGVectDir nDir,
VECT_BOOL bLookpoint
);
|
Name | Type | Description |
hView | HIG_VECT_VIEW | Handle to the View. |
fAngle | float | Rotation angle. |
nDir | enumIGVectDir | Coordinate plane. |
bLookpoint | VECT_BOOL | If this flag is VECT_TRUE, then the camera is rotated around the look point; otherwise it is rotated around the camera center point. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None