-
Notifications
You must be signed in to change notification settings - Fork 6
text
This will outline the functions used for creating and displaying text.
The font manager exists as a global font_manager. This can only handle one font at a time. The font manager automates the process of adding new codepoints to load into the font. raylib cannot handle all japanese and english characters at the same time, so they must be manually added as they are discovered.
ray::Font get_font(const std::string& text, int font_size);Can be used on the font manager to get a reference to the working font at a specific size.
The OutlinedText object is used to draw text, outlined or not. This is a threaded library.
The interface is simple:
OutlinedText(std::string text, int font_size,
ray::Color color, ray::Color outline_color,
bool is_vertical,
int outline_thickness = 5,
float spacing = 2.0f);Creates an OutlinedText object with the given string, font size, text color, and outline color. This can be vertical or not, and can optionally customize the outline thickness and spacing between characters.
void draw(const DrawTextureParams& = {});Draws the OutlinedText object based on the optional parameters given. See texture for additional details on parameters.
Building
libs
- animation
- audio
- config
- filesystem
- global_data
- input
- logging
- ray
- scores
- screen
- script
- song_parser
- text
- texture
- video
- webcam
libs/parsers
objects
objects/game
- player
- background
- gauge
- judgment
- combo
- branch_indicator
- ending_animations
- gogo_time
- fireworks
- song_info
- transition
- result_transition
- judge_counter
- score_counter
- score_counter_animation
- balloon_counter
- drumroll_counter
- kusudama_counter
- drum_hit_effect
- lane_hit_effect
- gauge_hit_effect
- combo_announce
- note_arc
objects/global
objects/title
objects/entry
objects/settings
objects/result
objects/song_select
- player
- navigator
- box_base
- box_song
- box_folder
- neiro
- modifier
- ura_switch
- diff_sort
- search_box
- dan_transition
- genre_bg
- score_history
- song_select_script
scenes