Package ch.bailu.gtk.pangocairo
Schnittstelle Pangocairo.OnShapeRendererFunc
- Umschließende Klasse:
Pangocairo
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
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.
-
Methodendetails
-
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.- Parameter:
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()
-