Class GlyphVisAttr

java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.pango.GlyphVisAttr
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class GlyphVisAttr extends ProxyInstance

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 Details

    • GlyphVisAttr

      public GlyphVisAttr(MemorySegment address)
      Create a GlyphVisAttr proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • GlyphVisAttr

      public GlyphVisAttr(Arena arena)
      Allocate a new GlyphVisAttr.
      Parameters:
      arena - to control the memory allocation scope
    • GlyphVisAttr

      public GlyphVisAttr()
      Allocate a new GlyphVisAttr. The memory is allocated with Arena.ofAuto().
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout