ImageGear for C and C++ on Linux v19.10 - Updated
ART_rotation_angle_get
API Reference Guide > ART Component API Reference > ART Component Functions Reference > Rotation Functions > ART_rotation_angle_get

This function determines the angle (in degrees) that an annotation rotates.

Declaration:

 
Copy Code
AT_ERRCOUNT ART_rotation_angle_get (
        HIGEAR hIGear,
        LPDWORD lpdwAngle
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
lpdwAngle LPDWORD A pointer to the angle value.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Example:

 
Copy Code
HIGEAR hIGear;   /* HIGEAR handle of Image  */
DWORD dwAngle;   /* Rotation angle    */
AT_ERRCOUNT nErrCount; /* Tally of IG errors on stack  */
nErrCount = ART_rotation_angle_get (hIGear,&dwAngle);

Remarks:

Valid values are 0, 90, 180, 270.