contextSetShapeRenderer

fnvoid contextSetShapeRenderer(pango.context.Context context, pangocairo.types.ShapeRendererFunc func = null)

Sets callback function for context to use for rendering attributes of type [pango.types.AttrType.Shape].

See [pangocairo.types.ShapeRendererFunc] for details.

Parameters

contexta [pango.context.Context], from a pangocairo font map
funcCallback function for rendering attributes of type [pango.types.AttrType.Shape], or null to disable shape rendering.