ImageGear for C and C++ on Windows v19.4 - Updated
IG_vect_font_get_glyph
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Font Functions > IG_vect_font_get_glyph

The function returns Vertex Container for access to the Vector glyph.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_font_get_glyph(
        HIG_VECT_FONT hFont, 
        long nInex, 
        HIG_VECT_VERTEXCONT* lpGlyph
);

Arguments:

Name Type Description
hFont HIG_VECT_FONT Handle to the font.
nIdex long Index of the glyph to be returned.
lpGlyph HIG_VECT_VERTEXCONT* The glyph being returned.

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

Remarks:

This function only supports vector fonts. If a handle to a TrueType or User font is passed to the function, it returns NULL in lpGlyph parameter. Use IG_vect_font_is_vector to find out if this function is applicable to a font.