TypeScript API Documentation for HARFBUZZ
API Version: 0.0
Library Version: 11.5.1
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 11.2.0
Draws the outline that corresponds to a glyph in the specified font.
font
This is a newer name for hb_font_draw_glyph(), that returns false if the font has no outlines for the glyph.
hb_font_draw_glyph()
false
The outline is returned by way of calls to the callbacks of the dfuncs objects, with draw_data passed to them.
dfuncs
draw_data
HarfBuzz.font_t to work upon
The glyph ID
HarfBuzz.draw_funcs_t to draw to
Optional
User data to pass to draw callbacks
true if glyph was drawn, false otherwise
true
11.2.0
Draws the outline that corresponds to a glyph in the specified
font.This is a newer name for
hb_font_draw_glyph(), that returnsfalseif the font has no outlines for the glyph.The outline is returned by way of calls to the callbacks of the
dfuncsobjects, withdraw_datapassed to them.