PaintPushClipGlyphFunc


Description:

[ CCode ( cname = "hb_paint_push_clip_glyph_func_t" , instance_pos = 4.9 ) ]
[ Version ( since = "7.0.0" ) ]
public delegate void PaintPushClipGlyphFunc (PaintFuncs funcs, void* paint_data, Codepoint glyph, Font font)

A virtual method for the PaintFuncs to clip subsequent paint calls to the outline of a glyph.

The coordinates of the glyph outline are interpreted according to the current transform.

This clip is applied in addition to the current clip, and remains in effect until a matching call to the hb_paint_funcs_pop_clip_func_t vfunc.

Parameters:

funcs

paint functions object

paint_data

The data accompanying the paint functions in paint_glyph

glyph

the glyph ID

font

the font

user_data

User data pointer passed to set_push_clip_glyph_func


Namespace: HarfBuzz