CairoShapeRendererFunc


Description:

[ CCode ( instance_pos = 3.9 ) ]
public delegate void CairoShapeRendererFunc (Context cr, AttrShape attr, bool do_path)

Function type for rendering attributes of type pango_attr_shape with Pango's Cairo renderer.

Parameters:

cr

a Cairo context with current point set to where the shape should be rendered

attr

the pango_attr_shape to render

do_path

whether only the shape path should be appended to current path of cr and no filling/stroking done. This will be set to true when called from cairo_layout_path and cairo_layout_line_path rendering functions.

data

user data passed to cairo_context_set_shape_renderer


Namespace: Pango
Package: pangocairo