class Pango::GlyphVisAttr

Overview

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.

Defined in:

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(is_cluster_start : UInt32? = nil, is_color : UInt32? = nil) #

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def finalize #

def is_cluster_start : UInt32 #

def is_cluster_start=(value : UInt32) #

def is_color : UInt32 #

def is_color=(value : UInt32) #

def to_unsafe : Pointer(Void) #