ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_rotation_add_angle
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Rotation Functions > IG_vect_rotation_add_angle

This function adds an angle to the rotation.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_rotation_add_angle(
        HIG_VECT_ROTATION hRotation, 
        enumIGVectDir nDir,
        FLOAT fAngle
);

Arguments:

Name Type Description
hRotation HIG_VECT_ROTATION Handle to the rotation.
nDir enumIGVectDir Constant specifying the rotation direction.
fAngle FLOAT Angle being added.

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