contextSetShapeRenderer

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

See pangocairo.types.ShapeRendererFunc for details.

Parameters

context pango.context.Context

a pango.context.Context, from a pangocairo font map

func pangocairo.types.ShapeRendererFunc

Callback function for rendering attributes of type pango.types.AttrType.Shape, or null to disable shape rendering.