fontDrawGlyph

fnvoid fontDrawGlyph(harfbuzz.font.Font font, harfbuzz.types.Codepoint glyph, harfbuzz.draw_funcs.DrawFuncs dfuncs, void * drawData = null)

Draws the outline that corresponds to a glyph in the specified font.

The outline is returned by way of calls to the callbacks of the dfuncs objects, with draw_data passed to them.

Parameters

font#hb_font_t to work upon
glyphThe glyph ID
dfuncs#hb_draw_funcs_t to draw to
drawDataUser data to pass to draw callbacks