Class GlyphVisAttr

All Implemented Interfaces:
PointerInterface

public class GlyphVisAttr extends Record
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.

https://docs.gtk.org/Pango/struct.GlyphVisAttr.html

  • Field Details

    • IS_CLUSTER_START

      public static final String IS_CLUSTER_START
      set for the first logical glyph in each cluster.
      See Also:
    • IS_COLOR

      public static final String IS_COLOR
      set if the the font will render this glyph with color. Since 1.50
      See Also:
  • Constructor Details

    • GlyphVisAttr

      public GlyphVisAttr(PointerContainer pointer)
    • GlyphVisAttr

      public GlyphVisAttr()
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldIsClusterStart

      public void setFieldIsClusterStart(int is_cluster_start)
      set for the first logical glyph in each cluster.
    • getFieldIsClusterStart

      public int getFieldIsClusterStart()
      set for the first logical glyph in each cluster.
    • setFieldIsColor

      public void setFieldIsColor(int is_color)
      set if the the font will render this glyph with color. Since 1.50
    • getFieldIsColor

      public int getFieldIsColor()
      set if the the font will render this glyph with color. Since 1.50