pangocairo.types
D types for pangocairo1 library
alias ShapeRendererFunc
Types 1
aliasShapeRendererFunc = void delegate(cairo.context.Context cr, pango.attr_shape.AttrShape attr, bool doPath)
Function type for rendering attributes of type [pango.types.AttrType.Shape] with Pango's Cairo renderer.
Parameters
cr | a Cairo context with current point set to where the shape should be rendered |
attr | the [pango.types.AttrType.Shape] to render |
doPath | whether only the shape path should be appended to current path of cr and no filling/stroking done. This will be set to true when called from [pangocairo.global.layoutPath] and [pangocairo.global.layoutLinePath] rendering functions. |