Function
PangoCairoShapeRendererFunc
since: 1.0
Declaration
void
(* PangoCairoShapeRendererFunc) (
cairo_t* cr,
PangoAttrShape* attr,
gboolean do_path,
gpointer data
)
Description [src]
Function type for rendering attributes of type PANGO_ATTR_SHAPE
with Pango’s Cairo renderer.
Available since: 1.0
Parameters
cr-
Type:
cairo_tA Cairo context with current point set to where the shape should be rendered.
The data is owned by the caller of the function. attr-
Type:
PangoAttrShapeThe
PANGO_ATTR_SHAPEto render.The data is owned by the caller of the function. do_path-
Type:
gbooleanWhether only the shape path should be appended to current path of
crand no filling/stroking done. This will be set toTRUEwhen called frompango_cairo_layout_path()andpango_cairo_layout_line_path()rendering functions. data-
Type:
gpointerUser data passed to
pango_cairo_context_set_shape_renderer()The argument can be NULL.The data is owned by the caller of the function.