ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_hatchline_get_lineangle
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Hatch Line Functions > IG_vect_hatchline_get_lineangle

This function gets the angle of the specified hatch line in radians.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatchline_get_lineangle(
        HIG_VECT_HATCHLINE hHatchline, 
        float* lpLineAngle
);

Arguments:

Name Type Description
hHatchline HIG_VECT_HATCHLINE Handle of the hatch line.
lpLineAngle float* Pointer to the buffer for the line angle.

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

Example:

 
Copy Code
float dblLineAngle;
IG_vect_hatchline_get_lineangle(hHatchLine, &dblLineAngle);
Is this page helpful?
Yes No
Thanks for your feedback.