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

This function gets a container with floating point values specifying the hatch line pattern.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_hatchline_get_pattern(
        HIG_VECT_HATCHLINE hHatchline, 
        HIG_VECT_DBLCONT* lpPattern
);

Arguments:

Name Type Description
hHatchline HIG_VECT_HATCHLINE Handle of the hatch line.
lpPattern HIG_VECT_DBLCONT* Pointer to the handle of the pattern container.

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
HIG_VECT_DBLCONT hPattern;
IG_vect_hatchline_get_pattern(hHatchLine, &hPattern);

Remarks:

First value in the container corresponds to "pen down", second - to "pen up", and so on.