PgCairo.contextGetShapeRenderer

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 pango_cairo_context_set_shape_renderer(), if any. Since 1.18

class PgCairo
static
contextGetShapeRenderer

Parameters

context PgContext

a PangoContext, from a pangocairo font map

data void**

Pointer to gpointer to return user data

Return Value

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

Meta