class Boleite::Font

Defined in:

boleite/graphics/font.cr
boleite/graphics/font/glyph.cr
boleite/graphics/font/page.cr
boleite/graphics/font/row.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(gfx : Boleite::GraphicsContext, file) #

[View source]

Instance Method Detail

def finalize #

[View source]
def get_glyph(code : Char, size : UInt32) #

[View source]
def get_kerning(first : Char, second : Char, size : UInt32) #

[View source]
def get_linespacing(size : UInt32) : Float64 #

[View source]
def get_page(size) : Page #

[View source]
def texture_for(size) : Texture #

[View source]