struct
Tessell::Text::GlyphSlot
- Tessell::Text::GlyphSlot
- Struct
- Value
- Object
Defined in:
tessell/text/glyph_atlas.crConstructors
Instance Method Summary
- #advance : Float32
- #bearing_x : Int32
- #bearing_y : Int32
-
#color : Bool
true: slot lives in an RGBA page (color glyph, premultiplied 4B/px); false: R8 page.
- #h : Int32
- #page : Int32
- #w : Int32
- #x : Int32
- #y : Int32
Constructor Detail
def self.new(page : Int32, x : Int32, y : Int32, w : Int32, h : Int32, bearing_x : Int32, bearing_y : Int32, advance : Float32, color : Bool = false)
#
Instance Method Detail
def color : Bool
#
true: slot lives in an RGBA page (color glyph, premultiplied 4B/px); false: R8 page.