Package ch.bailu.gtk.pango
Klasse RendererClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.RendererClass
- Alle implementierten Schnittstellen:
PointerInterface
Class structure for `PangoRenderer`.
The following vfuncs take user space coordinates in Pango units
and have default implementations:
- draw_glyphs
- draw_rectangle
- draw_error_underline
- draw_shape
- draw_glyph_item
The default draw_shape implementation draws nothing.
The following vfuncs take device space coordinates as doubles
and must be implemented:
- draw_trapezoid
- draw_glyph
The following vfuncs take user space coordinates in Pango units
and have default implementations:
- draw_glyphs
- draw_rectangle
- draw_error_underline
- draw_shape
- draw_glyph_item
The default draw_shape implementation draws nothing.
The following vfuncs take device space coordinates as doubles
and must be implemented:
- draw_trapezoid
- draw_glyph
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
draws a squiggly line that approximately
covers the given rectangle in the style of an underline used to
indicate a spelling error.static final String
static final String
static final String
draw content for a glyph shaped with `PangoAttrShape`
@x, @y are the coordinates of the left edge of the baseline,
in user coordinates.static final String
static final String
Private field: direct-type -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
ch.bailu.gtk.pango.JnaRendererClass.OnDrawErrorUnderline
draws a squiggly line that approximately
covers the given rectangle in the style of an underline used to
indicate a spelling error.ch.bailu.gtk.pango.JnaRendererClass.OnDrawGlyphs
ch.bailu.gtk.pango.JnaRendererClass.OnDrawRectangle
ch.bailu.gtk.pango.JnaRendererClass.OnDrawShape
draw content for a glyph shaped with `PangoAttrShape`
@x, @y are the coordinates of the left edge of the baseline,
in user coordinates.ch.bailu.gtk.pango.JnaRendererClass.OnDrawTrapezoid
static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
setFieldDrawErrorUnderline
(RendererClass.OnDrawErrorUnderline draw_error_underline) draws a squiggly line that approximately
covers the given rectangle in the style of an underline used to
indicate a spelling error.void
setFieldDrawGlyphs
(RendererClass.OnDrawGlyphs draw_glyphs) void
setFieldDrawRectangle
(RendererClass.OnDrawRectangle draw_rectangle) void
setFieldDrawShape
(RendererClass.OnDrawShape draw_shape) draw content for a glyph shaped with `PangoAttrShape`
@x, @y are the coordinates of the left edge of the baseline,
in user coordinates.void
setFieldDrawTrapezoid
(RendererClass.OnDrawTrapezoid draw_trapezoid) Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
PARENT_CLASS
Private field: direct-type- Siehe auch:
-
DRAW_GLYPHS
draws a `PangoGlyphString`
SeeRendererClass.OnDrawGlyphs.onDrawGlyphs(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, ch.bailu.gtk.pango.Font, ch.bailu.gtk.pango.GlyphString, int, int)
- Siehe auch:
-
DRAW_RECTANGLE
draws a rectangle
SeeRendererClass.OnDrawRectangle.onDrawRectangle(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, int, int, int, int, int)
- Siehe auch:
-
DRAW_ERROR_UNDERLINE
draws a squiggly line that approximately
covers the given rectangle in the style of an underline used to
indicate a spelling error.
SeeRendererClass.OnDrawErrorUnderline.onDrawErrorUnderline(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, int, int, int, int)
- Siehe auch:
-
DRAW_SHAPE
draw content for a glyph shaped with `PangoAttrShape`
@x, @y are the coordinates of the left edge of the baseline,
in user coordinates.
SeeRendererClass.OnDrawShape.onDrawShape(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, ch.bailu.gtk.pango.AttrShape, int, int)
- Siehe auch:
-
DRAW_TRAPEZOID
draws a trapezoidal filled area
SeeRendererClass.OnDrawTrapezoid.onDrawTrapezoid(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, int, double, double, double, double, double, double)
- Siehe auch:
-
-
Konstruktordetails
-
Methodendetails
-
getClassHandler
-
setFieldDrawGlyphs
-
getFieldDrawGlyphs
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawGlyphs getFieldDrawGlyphs() -
setFieldDrawRectangle
-
getFieldDrawRectangle
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawRectangle getFieldDrawRectangle() -
setFieldDrawErrorUnderline
draws a squiggly line that approximately
covers the given rectangle in the style of an underline used to
indicate a spelling error.
SeeRendererClass.OnDrawErrorUnderline.onDrawErrorUnderline(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, int, int, int, int)
-
getFieldDrawErrorUnderline
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawErrorUnderline getFieldDrawErrorUnderline()draws a squiggly line that approximately
covers the given rectangle in the style of an underline used to
indicate a spelling error.
SeeRendererClass.OnDrawErrorUnderline.onDrawErrorUnderline(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, int, int, int, int)
-
setFieldDrawShape
draw content for a glyph shaped with `PangoAttrShape`
@x, @y are the coordinates of the left edge of the baseline,
in user coordinates.
SeeRendererClass.OnDrawShape.onDrawShape(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, ch.bailu.gtk.pango.AttrShape, int, int)
-
getFieldDrawShape
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawShape getFieldDrawShape()draw content for a glyph shaped with `PangoAttrShape`
@x, @y are the coordinates of the left edge of the baseline,
in user coordinates.
SeeRendererClass.OnDrawShape.onDrawShape(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.pango.Renderer, ch.bailu.gtk.pango.AttrShape, int, int)
-
setFieldDrawTrapezoid
-
getFieldDrawTrapezoid
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawTrapezoid getFieldDrawTrapezoid() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-