struct HarfBuzz::GlyphExtentsT
- HarfBuzz::GlyphExtentsT
- Struct
- Value
- Object
Overview
Glyph extent values, measured in font units.
Note that height is negative, in coordinate systems that grow up.
Defined in:
lib/gi-crystal/src/auto/harf_buzz-0.0/glyph_extents_t.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibHarfBuzz::GlyphExtentsT, _transfer : GICrystal::Transfer)
- .new(x_bearing : Int32 | Nil = nil, y_bearing : Int32 | Nil = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil)
Instance Method Summary
- #==(other : self) : Bool
- #height(*args, **options)
- #height(*args, **options, &)
- #height=(arg)
- #width(*args, **options)
- #width(*args, **options, &)
- #width=(arg)
- #x_bearing(*args, **options)
- #x_bearing(*args, **options, &)
- #x_bearing=(arg)
- #y_bearing(*args, **options)
- #y_bearing(*args, **options, &)
- #y_bearing=(arg)
Constructor Detail
def self.new(x_bearing : Int32 | Nil = nil, y_bearing : Int32 | Nil = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil)
#