Callbacks¶
|
Details¶
- PangoCairo.ShapeRendererFunc(cr, attr, do_path, *data)¶
- Parameters:
cr (
cairo.Context
) – a Cairo context with current point set to where the shape should be renderedattr (
Pango.AttrShape
) – thePango.AttrType.SHAPE
to renderdo_path (
bool
) – whether only the shape path should be appended to current path of cr and no filling/stroking done. This will be set toTrue
when called fromPangoCairo.layout_path
() andPangoCairo.layout_line_path
() rendering functions.data (
object
orNone
) – user data passed toPangoCairo.context_set_shape_renderer
()
Function type for rendering attributes of type
Pango.AttrType.SHAPE
with Pango’s Cairo renderer.