Interface Pangocairo.OnShapeRendererFunc

Enclosing class:
Pangocairo
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Pangocairo.OnShapeRendererFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onShapeRendererFunc(CallbackHandler __self, Context cr, AttrShape attr, boolean do_path, Pointer data)
    Function type for rendering attributes of type %PANGO_ATTR_SHAPE
    with Pango's Cairo renderer.
  • Method Details

    • onShapeRendererFunc

      void onShapeRendererFunc(CallbackHandler __self, @Nonnull Context cr, @Nonnull AttrShape attr, boolean do_path, @Nullable Pointer data)
      Function type for rendering attributes of type %PANGO_ATTR_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_ATTR_SHAPE to render
      do_path - 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.
      data - user data passed to pango_cairo_context_set_shape_renderer()