pangocairo.types

D types for pangocairo1 library

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

cra Cairo context with current point set to where the shape should be rendered
attrthe [pango.types.AttrType.Shape] to render
doPathwhether 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.