ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_view_rotate
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_view_rotate(
        HIG_VECT_VIEW hView, 
        float fAngle, 
        enumIGVectDir nDir, 
        VECT_BOOL bLookpoint
);

Arguments:

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.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Is this page helpful?
Yes No
Thanks for your feedback.