class HarfBuzz::GlyphPositionT
- HarfBuzz::GlyphPositionT
- Reference
- Object
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.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibHarfBuzz::GlyphPositionT, transfer : GICrystal::Transfer)
- .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)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #to_unsafe
- #var : HarfBuzz::VarIntT
- #var=(value : HarfBuzz::VarIntT)
- #x_advance : Int32
- #x_advance=(value : Int32)
- #x_offset : Int32
- #x_offset=(value : Int32)
- #y_advance : Int32
- #y_advance=(value : Int32)
- #y_offset : Int32
- #y_offset=(value : Int32)
Constructor Detail
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)
#
Class Method Detail
Returns the type id (GType) registered in GLib type system.
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.