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.SHAPEto 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 toTruewhen called fromPangoCairo.layout_path() andPangoCairo.layout_line_path() rendering functions.data (
objectorNone) – user data passed toPangoCairo.context_set_shape_renderer()
Function type for rendering attributes of type
Pango.AttrType.SHAPEwith Pango’s Cairo renderer.