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 interfacestatic interfacestatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringdraws a squiggly line that approximately
covers the given rectangle in the style of an underline used to
indicate a spelling error.static final Stringstatic final Stringstatic final Stringdraw content for a glyph shaped with `PangoAttrShape`
@x, @y are the coordinates of the left edge of the baseline,
in user coordinates.static final Stringstatic final String
Private field: direct-type -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerch.bailu.gtk.pango.JnaRendererClass.OnDrawErrorUnderlinedraws 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.OnDrawGlyphsch.bailu.gtk.pango.JnaRendererClass.OnDrawRectanglech.bailu.gtk.pango.JnaRendererClass.OnDrawShapedraw 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.OnDrawTrapezoidstatic intstatic TypeSystem.TypeSizestatic TypeSystem.TypeSizevoidsetFieldDrawErrorUnderline(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.voidsetFieldDrawGlyphs(RendererClass.OnDrawGlyphs draw_glyphs) voidsetFieldDrawRectangle(RendererClass.OnDrawRectangle draw_rectangle) voidsetFieldDrawShape(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.voidsetFieldDrawTrapezoid(RendererClass.OnDrawTrapezoid draw_trapezoid) Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon 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
-
RendererClass
-
-
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()
-