struct Pango::GlyphVisAttr

Overview

A Pango::GlyphVisAttr 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.

Defined in:

lib/gi-crystal/src/auto/pango-1.0/glyph_vis_attr.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]
def self.new(data : LibPango::GlyphVisAttr, _transfer : GICrystal::Transfer) #

[View source]
def self.new(is_cluster_start : UInt32 | Nil = nil, is_color : UInt32 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def is_cluster_start(*args, **options) #

[View source]
def is_cluster_start(*args, **options, &) #

[View source]
def is_cluster_start=(arg) #

[View source]
def is_color(*args, **options) #

[View source]
def is_color(*args, **options, &) #

[View source]
def is_color=(arg) #

[View source]