PaintPushRectangleFunc


Description:

[ CCode ( cname = "hb_paint_push_clip_rectangle_func_t" , instance_pos = 6.9 ) ]
[ Version ( since = "7.0.0" ) ]
public delegate void PaintPushRectangleFunc (PaintFuncs funcs, void* paint_data, float xmin, float ymin, float xmax, float ymax)

A virtual method for the PaintFuncs to clip subsequent paint calls to a rectangle.

The coordinates of the rectangle 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

xmin

min X for the rectangle

ymin

min Y for the rectangle

xmax

max X for the rectangle

ymax

max Y for the rectangle

user_data

User data pointer passed to set_push_clip_rectangle_func


Namespace: HarfBuzz