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) #

def self.new(data : LibPango::GlyphVisAttr, _transfer : GICrystal::Transfer) #

def self.new(is_cluster_start : UInt32? = nil, is_color : UInt32? = nil) #

Instance Method Detail

def ==(other : self) : Bool #

def is_cluster_start(*args, **options) #

def is_cluster_start(*args, **options, &) #

def is_cluster_start=(arg) #

def is_color(*args, **options) #

def is_color(*args, **options, &) #

def is_color=(arg) #