Package ch.bailu.gtk.pangocairo
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 renderedattr
- the %PANGO_ATTR_SHAPE to renderdo_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()
-