Package org.gnome.pango
Class Renderer.RendererClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.pango.Renderer.RendererClass
- All Implemented Interfaces:
Proxy
- Enclosing class:
Renderer
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
-
Constructor Summary
ConstructorDescriptionAllocate a new RendererClass.RendererClass
(Arena arena) Allocate a new RendererClass.RendererClass
(MemorySegment address) Create a RendererClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideBegin
(Arena arena, Method method) Override virtual methodbegin
.void
overrideDrawErrorUnderline
(Arena arena, Method method) Override virtual methoddraw_error_underline
.void
overrideDrawGlyph
(Arena arena, Method method) Override virtual methoddraw_glyph
.void
overrideDrawGlyphItem
(Arena arena, Method method) Override virtual methoddraw_glyph_item
.void
overrideDrawGlyphs
(Arena arena, Method method) Override virtual methoddraw_glyphs
.void
overrideDrawRectangle
(Arena arena, Method method) Override virtual methoddraw_rectangle
.void
overrideDrawShape
(Arena arena, Method method) Override virtual methoddraw_shape
.void
overrideDrawTrapezoid
(Arena arena, Method method) Override virtual methoddraw_trapezoid
.void
overrideEnd
(Arena arena, Method method) Override virtual methodend
.void
overridePartChanged
(Arena arena, Method method) Override virtual methodpart_changed
.void
overridePrepareRun
(Arena arena, Method method) Override virtual methodprepare_run
.Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecs
Methods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
RendererClass
Create a RendererClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
RendererClass
Allocate a new RendererClass.- Parameters:
arena
- to control the memory allocation scope
-
RendererClass
public RendererClass()Allocate a new RendererClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideDrawGlyphs
-
overrideDrawRectangle
-
overrideDrawErrorUnderline
-
overrideDrawShape
-
overrideDrawTrapezoid
-
overrideDrawGlyph
-
overridePartChanged
-
overrideBegin
-
overrideEnd
-
overridePrepareRun
-
overrideDrawGlyphItem
-