class Allegro::Font

Defined in:

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.builtin_font : Font #

def self.load(filename : String | Path, size : Int, flags : Int) : Font #

Class Method Detail

def self.finalize #

Finalize Font Addon


def self.initialize #

Initialize Font Addon


Instance Method Detail

def close #

Explicitly destroys the underlying font


def draw(text : AnyUString, color, x, y, flags) #

def draw(text : String, color, x, y, flags) #

def draw_text(text : String, color, x, y, flags) #

Draw ASCII text to current target bitmap

This may not optimize your app. Use #draw instead.


def finalize #