AllegroFlare/Elements/RollingCredits/SectionRenderers/Text
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
| font_bin |
AllegroFlare::FontBin* |
| text |
std::string |
| alignment |
std::string |
| x |
float |
| y |
float |
| max_width |
float |
| font_name |
std::string |
| font_size |
int |
| text_color |
ALLEGRO_COLOR |
| _multiline_text_line_number |
int |
| TYPE |
char* |
Methods
| render(bool only_calculate_height_dont_render=false) |
| multiline_text_draw_callback(int line_num=0, const char* line=nullptr, int size=0, void* extra=nullptr) |
| count_num_lines_will_render(ALLEGRO_FONT* font=nullptr, float max_width=0.0f, std::string text="[unset-text]") |
| get_al_alignment() |
| get_x_offset_by_alignment() |
| obtain_font() |
Dependencies
| {"symbol"=>"AllegroFlare::Elements::RollingCredits::SectionRenderers::Base", "headers"=>["AllegroFlare/Elements/RollingCredits/SectionRenderers/Base.hpp"]} |
| {"symbol"=>"ALLEGRO_COLOR", "headers"=>["allegro5/allegro.h"]} |
| {"symbol"=>"AllegroFlare::FontBin", "headers"=>["AllegroFlare/FontBin.hpp"]} |
| {"symbol"=>"ALLEGRO_FONT", "headers"=>["allegro5/allegro_font.h"]} |
| {"symbol"=>"AllegroFlare::Elements::RollingCredits::Sections::Text", "headers"=>["AllegroFlare/Elements/RollingCredits/Sections/Text.hpp"]} |
Sponsor
Get the best designed cat shirts at clubatt.com