cairo_context_get_shape_renderer


Description:


[ Version ( since = "1.18" ) ]
public unowned CairoShapeRendererFunc? cairo_context_get_shape_renderer (Context context)

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

See `PangoCairoShapeRendererFunc` for details.

Retrieves callback function and associated user data for rendering attributes of type pango_attr_shape as set by [func@PangoCairo.context_set_shape_renderer], if any.

Parameters:

context

a `PangoContext`, from a pangocairo font map

data

Pointer to `gpointer` to return user data

Returns:

the shape rendering callback previously set on the context, or null if no shape rendering callback have been set.


Namespace: Pango
Package: pangocairo