struct
Tessell::Text::ColorBitmap
- Tessell::Text::ColorBitmap
- Struct
- Value
- Object
Overview
预乘 RGBA,行优先、y 向下。pixels 长度 = wh4。
Defined in:
tessell/text/color_glyph.crConstructors
- .empty : ColorBitmap
- .new(w : Int32, h : Int32, bearing_x : Int32, bearing_y : Int32, advance_px : Float32, pixels : Slice(UInt8))
Instance Method Summary
Constructor Detail
def self.new(w : Int32, h : Int32, bearing_x : Int32, bearing_y : Int32, advance_px : Float32, pixels : Slice(UInt8))
#