AllegroFlare/MusicMesh/FontCharacterAtlasBuilder
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
font_bin |
AllegroFlare::FontBin* |
font_identifier |
std::string |
font_size |
int |
UNICODE_RANGE_START |
uint32_t |
row_height |
int |
column_width |
int |
Methods
todo() |
get_uv_for_index(uint32_t unicode_index=0) |
infer_font_descent() |
create() |
draw_unicode_character(ALLEGRO_FONT* font=nullptr, ALLEGRO_COLOR color=ALLEGRO_COLOR{1, 1, 1, 1}, uint32_t icon=61444, int flags=0, float x=0.0f, float y=0.0f) |
obtain_unicode_font() |
obtain_ui_font() |
obtain_ui_font_mini() |
as_hex(uint32_t value=0, int zero_fill_width=6) |
as_int(uint32_t value=0) |
Dependencies
{"symbol"=>"std::setfill", "headers"=>["iomanip"]} |
{"symbol"=>"ALLEGRO_COLOR", "headers"=>["allegro5/allegro.h"]} |
{"symbol"=>"ALLEGRO_BITMAP", "headers"=>["allegro5/allegro.h"]} |
{"symbol"=>"ALLEGRO_FONT", "headers"=>["allegro5/allegro_font.h"]} |
{"symbol"=>"AllegroFlare::FontBin", "headers"=>["AllegroFlare/FontBin.hpp"]} |
{"symbol"=>"AllegroFlare::Color", "headers"=>["AllegroFlare/Color.hpp"]} |
{"symbol"=>"al_draw_rectangle", "headers"=>["allegro5/allegro_primitives.h"]} |
{"symbol"=>"AllegroFlare::Vec2D", "headers"=>["AllegroFlare/Vec2D.hpp"]} |
Sponsor
Get the best designed cat shirts at clubatt.com