class Tessell::Text::ColorRasterizer

Defined in:

tessell/text/color_glyph.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(measurer : FtMeasurer) #

[View source]

Instance Method Detail

def color?(glyph_id : UInt32) : Bool #

[View source]
def layers(glyph_id : UInt32) : Int32 #

[View source]
def rasterize_calls : Int32 #

[View source]
def rasterize_color(glyph_id : UInt32, size_px : Int32, fg : UInt32 = 255_u32) : ColorBitmap #

[View source]