cairo_context_set_shape_renderer


Description:


[ Version ( since = "1.18" ) ]
public void cairo_context_set_shape_renderer (Context context, owned CairoShapeRendererFunc? func)

Sets callback function for context to use for rendering attributes of type pango_attr_shape.

See `PangoCairoShapeRendererFunc` for details.

Parameters:

context

a `PangoContext`, from a pangocairo font map

func

Callback function for rendering attributes of type pango_attr_shape, or null to disable shape rendering.

data

User data that will be passed to func.

dnotify

Callback that will be called when the context is freed to release data


Namespace: Pango
Package: pangocairo