PgCairo.contextSetShapeRenderer

Sets callback function for context to use for rendering attributes of type %PANGO_ATTR_SHAPE. See #PangoCairoShapeRendererFunc for details.

struct PgCairo
static
void
contextSetShapeRenderer

Parameters

context PgContext

a #PangoContext, from a pangocairo font map

func PangoCairoShapeRendererFunc

Callback function for rendering attributes of type %PANGO_ATTR_SHAPE, or %NULL to disable shape rendering.

data void*

User data that will be passed to @func.

dnotify GDestroyNotify

Callback that will be called when the context is freed to release @data, or %NULL.

Meta

Since

1.18