Package org.gnome.pango
Class GlyphVisAttr
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.pango.GlyphVisAttr
- All Implemented Interfaces:
Proxy
A
PangoGlyphVisAttr
structure communicates information between
the shaping and rendering phases.
Currently, it contains cluster start and color information. More attributes may be added in the future.
Clusters are stored in visual order, within the cluster, glyphs are always ordered in logical order, since visual order is meaningless; that is, in Arabic text, accent glyphs follow the glyphs for the base character.
-
Constructor Summary
ConstructorDescriptionAllocate a new GlyphVisAttr.GlyphVisAttr
(Arena arena) Allocate a new GlyphVisAttr.GlyphVisAttr
(MemorySegment address) Create a GlyphVisAttr proxy instance for the provided memory address. -
Method Summary
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
GlyphVisAttr
Create a GlyphVisAttr proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
GlyphVisAttr
Allocate a new GlyphVisAttr.- Parameters:
arena
- to control the memory allocation scope
-
GlyphVisAttr
public GlyphVisAttr()Allocate a new GlyphVisAttr. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-