ShapeRendererFunc

typealias ShapeRendererFunc = (<Error class: unknown class>, doPath: Boolean) -> Unit

Function type for rendering attributes of type %PANGO_ATTR_SHAPE with Pango's Cairo renderer.

  • param attr the %PANGO_ATTR_SHAPE to render

  • param 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 pango_cairo_layout_path() and pango_cairo_layout_line_path() rendering functions.