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

[View source]
def self.new(data : LibHarfBuzz::GlyphPositionT, transfer : GICrystal::Transfer) #

[View source]
def self.new(x_advance : Int32 | Nil = nil, y_advance : Int32 | Nil = nil, x_offset : Int32 | Nil = nil, y_offset : Int32 | Nil = nil, var : HarfBuzz::VarIntT | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

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

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


[View source]
def to_unsafe #

[View source]
def var : HarfBuzz::VarIntT #

[View source]
def var=(value : HarfBuzz::VarIntT) #

[View source]
def x_advance : Int32 #

[View source]
def x_advance=(value : Int32) #

[View source]
def x_offset : Int32 #

[View source]
def x_offset=(value : Int32) #

[View source]
def y_advance : Int32 #

[View source]
def y_advance=(value : Int32) #

[View source]
def y_offset : Int32 #

[View source]
def y_offset=(value : Int32) #

[View source]