ShapeRendererFunc

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

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

  • param cr a Cairo context with current point set to where the shape should be rendered

  • 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.