class HarfBuzz::GlyphPositionT

Overview

The #hb_glyph_position_t is the structure that holds the positions of the glyph in both horizontal and vertical directions. All positions in #hb_glyph_position_t are relative to the current point.

Defined in:

lib/gi-crystal/src/auto/harf_buzz-0.0/glyph_position_t.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(data : LibHarfBuzz::GlyphPositionT, transfer : GICrystal::Transfer) #

def self.new(x_advance : Int32? = nil, y_advance : Int32? = nil, x_offset : Int32? = nil, y_offset : Int32? = nil, var : HarfBuzz::VarIntT? = nil) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


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

def var : HarfBuzz::VarIntT #

def var=(value : HarfBuzz::VarIntT) #

def x_advance : Int32 #

def x_advance=(value : Int32) #

def x_offset : Int32 #

def x_offset=(value : Int32) #

def y_advance : Int32 #

def y_advance=(value : Int32) #

def y_offset : Int32 #

def y_offset=(value : Int32) #