FontGetGlyphExtentsFunc


Description:

[ CCode ( cname = "hb_font_get_glyph_extents_func_t" , instance_pos = 4.9 ) ]
public delegate Bool FontGetGlyphExtentsFunc (Font font, void* font_data, Codepoint glyph, out GlyphExtents extents)

A virtual method for the FontFuncs of an Font object.

This method should retrieve the extents for a specified glyph. Extents must be returned in an hb_glyph_extentss output parameter.

Parameters:

font

Font to work upon

font_data

font user data pointer

glyph

The glyph ID to query

extents

The GlyphExtents retrieved

user_data

User data pointer passed by the caller

Returns:

`true` if data found, `false` otherwise


Namespace: HarfBuzz