GlyphVisAttr

class GlyphVisAttr(val pangoGlyphVisAttrPointer: <Error class: unknown class><<Error class: unknown class>>)(source)

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.

Constructors

Link copied to clipboard
constructor()

Allocate a new GlyphVisAttr.

constructor(scope: <Error class: unknown class>)

Allocate a new GlyphVisAttr using the provided AutofreeScope.

constructor(isClusterStart: <Error class: unknown class>, isColor: <Error class: unknown class>)

Allocate a new GlyphVisAttr.

constructor(isClusterStart: <Error class: unknown class>, isColor: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new GlyphVisAttr using the provided AutofreeScope.

constructor(pangoGlyphVisAttrPointer: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
var isClusterStart: <Error class: unknown class>

set for the first logical glyph in each cluster.

Link copied to clipboard
var isColor: <Error class: unknown class>

set if the the font will render this glyph with color. Since 1.50

Link copied to clipboard
val pangoGlyphVisAttrPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open override fun toString(): String