ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_hatchline_get_offset
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Hatch Line Functions > IG_vect_hatchline_get_offset

This function gets a pointer to the hatch line offset.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatchline_get_offset(
        HIG_VECT_HATCHLINE hHatchline, 
        IGVectPoint2D** lplpOffsetPoint
);

Arguments:

Name Type Description
hHatchline HIG_VECT_HATCHLINE Handle of the hatch line.
lplpOffsetPoint IGVectPoint2D** Double pointer to the hatch line offset 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

Example:

 
Copy Code
IGVectPoint2D* lpOffsetPoint;
IG_vect_hatchline_get_offset(hHatchline, &lpBasePoint);

Remarks:

X and Y offset coordinates specify distance between lines in the hatch.