Package ch.bailu.gtk.pango
Class RendererClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.RendererClass
- All Implemented Interfaces:
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
ch.bailu.gtk.pango.JnaRendererClass.OnDrawErrorUnderline
ch.bailu.gtk.pango.JnaRendererClass.OnDrawGlyphs
ch.bailu.gtk.pango.JnaRendererClass.OnDrawRectangle
ch.bailu.gtk.pango.JnaRendererClass.OnDrawShape
ch.bailu.gtk.pango.JnaRendererClass.OnDrawTrapezoid
static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
setFieldDrawErrorUnderline
(RendererClass.OnDrawErrorUnderline draw_error_underline) void
setFieldDrawGlyphs
(RendererClass.OnDrawGlyphs draw_glyphs) void
setFieldDrawRectangle
(RendererClass.OnDrawRectangle draw_rectangle) void
setFieldDrawShape
(RendererClass.OnDrawShape draw_shape) void
setFieldDrawTrapezoid
(RendererClass.OnDrawTrapezoid draw_trapezoid) Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
PARENT_CLASS
Private field: direct-type- See Also:
-
DRAW_GLYPHS
- See Also:
-
DRAW_RECTANGLE
- See Also:
-
DRAW_ERROR_UNDERLINE
- See Also:
-
DRAW_SHAPE
- See Also:
-
DRAW_TRAPEZOID
- See Also:
-
-
Constructor Details
-
RendererClass
-
-
Method Details
-
getClassHandler
-
setFieldDrawGlyphs
-
getFieldDrawGlyphs
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawGlyphs getFieldDrawGlyphs() -
setFieldDrawRectangle
-
getFieldDrawRectangle
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawRectangle getFieldDrawRectangle() -
setFieldDrawErrorUnderline
-
getFieldDrawErrorUnderline
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawErrorUnderline getFieldDrawErrorUnderline() -
setFieldDrawShape
-
getFieldDrawShape
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawShape getFieldDrawShape() -
setFieldDrawTrapezoid
-
getFieldDrawTrapezoid
public ch.bailu.gtk.pango.JnaRendererClass.OnDrawTrapezoid getFieldDrawTrapezoid() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-