GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::FontApi Class Reference

#include <GameApi.hh>

Public Member Functions

IMPORT FontApi (Env &e)
IMPORT ~FontApi ()
IMPORT BM outline_bm (FI font, std::string glyph)
IMPORT BM outline_string (EveryApi &ev, FI font, std::string str)
IMPORT void save_atlas_store_file (FtA atlas, std::string filename)
IMPORT FtA load_atlas_from_string (std::string buf)
IMPORT ARR FI_sprite_atlas (EveryApi &ev, FI font, std::string chars, int sx, int sy, int y_delta)
IMPORT ARR FI_sprite_atlas_persistent_cache (EveryApi &ev, FtA atlas, BM atlas_bm, std::string atlas_filename, std::string atlas_bm_filename)
IMPORT BM large_string_from_atlas (EveryApi &ev, FtA atlas, BM atlas_bm, std::string url, int x_gap, int empty_line_height, int baseline_separation)
IMPORT FF span_key_fetcher (float start_x, float end_x, float speed_x, int down_key, int up_key)
IMPORT ARR choose_screen (float left_x, float right_x, int min_screen, int max_screen)
IMPORT IF quake_area_fetcher (float start_x, float end_x, float start_z, float end_z)
IMPORT Ft newfont (std::string filename, int sx, int sy)
IMPORT BM glyph (Ft font, long idx)
IMPORT LI glyph_outline (Ft font, long idx, float sx, float sy)
IMPORT PL glyph_plane (Ft font, long idx, float sx, float sy, float dx, float dy)
IMPORT BM font_string (Ft font, std::string str, int x_gap)
IMPORT FB glyph_fb (Ft font, long idx)
IMPORT BB glyph_bb (Ft font, long idx)
IMPORT BM render_glyph (GI glyph)
IMPORT BM font_atlas_engine2 (EveryApi &ev, FI font, FtA atlas, float sx, float sy)
IMPORT FtA font_atlas_info_engine2 (EveryApi &ev, FI font, std::string chars, float sx, float sy, int y_delta)
IMPORT FtA font_atlas_info (EveryApi &ev, Ft font, std::string chars, float sx, float sy, int y_delta)
IMPORT BM font_atlas (EveryApi &ev, Ft font, FtA atlas, float sx, float sy)
IMPORT BM font_string_from_atlas (EveryApi &ev, FtA atlas, BM atlas_bm, std::string str, int x_gap)
IMPORT P font_string_from_atlas_opengl_pipeline (EveryApi &ev, FtA atlas, BM atlas_bm, std::string str, int x_gap)
IMPORT void save_atlas (FtA atlas, std::string filename)
IMPORT FtA load_atlas (std::string filename)
IMPORT ARR font_string_array (Ft font, std::string s, int x_gap)
IMPORT ARR font_string_array2 (FI font, std::string s)
IMPORT SF time_string_fetcher (EveryApi &ev)
IMPORT SF score_string_fetcher (std::string id, std::string label, int numdigits)
IMPORT IF char_fetcher_from_string (SF string_fetcher, std::string alternatives, int idx)
IMPORT IF key_move_2_area_fetcher (float start_x, float end_x, float start_z, float end_z)
IMPORT IF ready_fetcher (P p)
IMPORT ML dynamic_character (EveryApi &ev, std::vector< BM > vec, IF fetcher, int x, int y)
IMPORT FML dynamic_character_frame (EveryApi &ev, std::vector< BM > vec, IF fetcher, int x, int y, int fmt, MN mn)
IMPORT ML dynamic_polygon (EveryApi &ev, std::vector< P > vec, MT material, IF fetcher)
IMPORT ML dynamic_string (EveryApi &ev, Ft font, std::string alternative_chars, SF fetcher, int x, int y, int numchars)
IMPORT FI load_font (std::string ttf_filename, int sx, int sy)
IMPORT ML save_font_dump (FI font, std::string chars, std::string filename)
IMPORT FI load_font_dump (std::string url)
IMPORT GI choose_glyph_from_font (FI font, long idx)
IMPORT GI combine_glyphs (GI glyph1, GI glyph2)
IMPORT SD draw_text_string_sd (std::vector< GI > glyphs, std::string str, int gap_x, int empty_line_height)
IMPORT BM string_display_to_bitmap (SD sd, int def)
IMPORT BM draw_text_string (FI font, std::string str, int x_gap, int empty_line_height)
IMPORT BM draw_text_large (EveryApi &ev, FI font, std::string url, int x_gap, int empty_line_height, int baseline_separation)
IMPORT ML dynamic_character2 (EveryApi &ev, std::vector< GI > vec, std::string alternatives, IF fetcher, int x, int y)
IMPORT IF timed_int_fetcher (EveryApi &ev, int start, int end, float start_time, float end_time)
IMPORT IF movement_int_fetcher (int count, float x_mult, float y_mult, float z_mult)
IMPORT IF repeat_int_fetcher (IF fetcher, float duration)
IMPORT IF toggle_button_fetcher (float start_x, float end_x, float start_y, float end_y)
IMPORT IF hmd_state_fetcher ()
IMPORT IF keypress_int_fetcher (int key, int key_down_value, int key_up_value)
IMPORT IF x_comp (PF point_fetcher, float start_x, float end_x, int num_steps)
IMPORT IF y_comp (PF point_fetcher, float start_y, float end_y, int num_steps)
IMPORT IF z_comp (PF point_fetcher, float start_z, float end_z, int num_steps)
IMPORT PF point_fetcher_constant (float x, float y, float z)
IMPORT PF point_fetcher_part (PF point_fetcher, int component, FF float_fetcher)
IMPORT PF mouse_fetcher ()
IMPORT FF choose_float_fetcher (IF int_fetcher, float a_1, float a_2, float a_3, float a_4, float a_5, float a_6, float a_7)
IMPORT FF fps_fetcher (EveryApi &ev)
IMPORT FF time_fetcher2 (EveryApi &ev)
IMPORT FF time_range_fetcher (float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat)
IMPORT FF time_range_fetcher_key (int key, float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat)
IMPORT FF time_range_fetcher_state (int state, IF states, float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat)
IMPORT FF time_range_fetcher_state_key (int state, int key, IF if_state, float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat)
IMPORT IF score_fetcher (EveryApi &ev)
IMPORT IF time_fetcher (EveryApi &ev, float start_time)
IMPORT IF hmd_request_presenting (IF i)
IMPORT SF float_to_string_fetcher (FF fetcher)
IMPORT SF int_to_string_fetcher (IF fetcher)
IMPORT ML ml_chooser (std::vector< ML > vec, IF fetcher)
IMPORT std::vector< GameApi::BM > bm_array_id_inv (ARR arr)
IMPORT ARR bm_array_id (std::vector< BM > vec)

Constructor & Destructor Documentation

◆ FontApi()

EXPORT GameApi::FontApi::FontApi ( Env & e)
Here is the caller graph for this function:

◆ ~FontApi()

EXPORT GameApi::FontApi::~FontApi ( )

Member Function Documentation

◆ bm_array_id()

EXPORT GameApi::ARR GameApi::FontApi::bm_array_id ( std::vector< BM > vec)
Here is the caller graph for this function:

◆ bm_array_id_inv()

EXPORT std::vector< GameApi::BM > GameApi::FontApi::bm_array_id_inv ( ARR arr)

◆ char_fetcher_from_string()

EXPORT GameApi::IF GameApi::FontApi::char_fetcher_from_string ( SF string_fetcher,
std::string alternatives,
int idx )
Here is the caller graph for this function:

◆ choose_float_fetcher()

GameApi::FF GameApi::FontApi::choose_float_fetcher ( IF int_fetcher,
float a_1,
float a_2,
float a_3,
float a_4,
float a_5,
float a_6,
float a_7 )
Here is the caller graph for this function:

◆ choose_glyph_from_font()

GameApi::GI GameApi::FontApi::choose_glyph_from_font ( FI font,
long idx )
Here is the caller graph for this function:

◆ choose_screen()

GameApi::ARR GameApi::FontApi::choose_screen ( float left_x,
float right_x,
int min_screen,
int max_screen )
Here is the caller graph for this function:

◆ combine_glyphs()

EXPORT GameApi::GI GameApi::FontApi::combine_glyphs ( GI glyph1,
GI glyph2 )
Here is the caller graph for this function:

◆ draw_text_large()

GameApi::BM GameApi::FontApi::draw_text_large ( EveryApi & ev,
FI font,
std::string url,
int x_gap,
int empty_line_height,
int baseline_separation )
Here is the caller graph for this function:

◆ draw_text_string()

GameApi::BM GameApi::FontApi::draw_text_string ( FI font,
std::string str,
int x_gap,
int empty_line_height )
Here is the caller graph for this function:

◆ draw_text_string_sd()

GameApi::SD GameApi::FontApi::draw_text_string_sd ( std::vector< GI > glyphs,
std::string str,
int gap_x,
int empty_line_height )
Here is the caller graph for this function:

◆ dynamic_character()

EXPORT GameApi::ML GameApi::FontApi::dynamic_character ( GameApi::EveryApi & ev,
std::vector< BM > vec,
GameApi::IF fetcher,
int x,
int y )
Here is the caller graph for this function:

◆ dynamic_character2()

IMPORT ML GameApi::FontApi::dynamic_character2 ( EveryApi & ev,
std::vector< GI > vec,
std::string alternatives,
IF fetcher,
int x,
int y )

◆ dynamic_character_frame()

EXPORT GameApi::FML GameApi::FontApi::dynamic_character_frame ( GameApi::EveryApi & ev,
std::vector< BM > vec,
GameApi::IF fetcher,
int x,
int y,
int fmt,
MN mn )
Here is the caller graph for this function:

◆ dynamic_polygon()

EXPORT GameApi::ML GameApi::FontApi::dynamic_polygon ( GameApi::EveryApi & ev,
std::vector< P > vec,
GameApi::MT material,
GameApi::IF fetcher )
Here is the caller graph for this function:

◆ dynamic_string()

EXPORT GameApi::ML GameApi::FontApi::dynamic_string ( GameApi::EveryApi & ev,
GameApi::Ft font,
std::string alternative_chars,
GameApi::SF fetcher,
int x,
int y,
int numchars )
Here is the caller graph for this function:

◆ FI_sprite_atlas()

EXPORT GameApi::ARR GameApi::FontApi::FI_sprite_atlas ( EveryApi & ev,
FI font,
std::string chars,
int sx,
int sy,
int y_delta )
Here is the caller graph for this function:

◆ FI_sprite_atlas_persistent_cache()

EXPORT GameApi::ARR GameApi::FontApi::FI_sprite_atlas_persistent_cache ( EveryApi & ev,
FtA atlas,
BM atlas_bm,
std::string atlas_filename,
std::string atlas_bm_filename )
Here is the caller graph for this function:

◆ float_to_string_fetcher()

GameApi::SF GameApi::FontApi::float_to_string_fetcher ( FF fetcher)
Here is the caller graph for this function:

◆ font_atlas()

EXPORT GameApi::BM GameApi::FontApi::font_atlas ( EveryApi & ev,
Ft font,
FtA atlas,
float sx,
float sy )
Here is the caller graph for this function:

◆ font_atlas_engine2()

EXPORT GameApi::BM GameApi::FontApi::font_atlas_engine2 ( EveryApi & ev,
FI font,
FtA atlas,
float sx,
float sy )
Here is the caller graph for this function:

◆ font_atlas_info()

EXPORT GameApi::FtA GameApi::FontApi::font_atlas_info ( EveryApi & ev,
Ft font,
std::string chars,
float sx,
float sy,
int y_delta )
Here is the caller graph for this function:

◆ font_atlas_info_engine2()

EXPORT GameApi::FtA GameApi::FontApi::font_atlas_info_engine2 ( EveryApi & ev,
FI font,
std::string chars,
float sx,
float sy,
int y_delta )
Here is the caller graph for this function:

◆ font_string()

EXPORT GameApi::BM GameApi::FontApi::font_string ( Ft font,
std::string str,
int x_gap )
Here is the caller graph for this function:

◆ font_string_array()

EXPORT GameApi::ARR GameApi::FontApi::font_string_array ( Ft font,
std::string s,
int x_gap )
Here is the caller graph for this function:

◆ font_string_array2()

EXPORT GameApi::ARR GameApi::FontApi::font_string_array2 ( FI font,
std::string s )
Here is the caller graph for this function:

◆ font_string_from_atlas()

EXPORT GameApi::BM GameApi::FontApi::font_string_from_atlas ( EveryApi & ev,
FtA atlas,
BM atlas_bm,
std::string str,
int x_gap )
Here is the caller graph for this function:

◆ font_string_from_atlas_opengl_pipeline()

EXPORT GameApi::P GameApi::FontApi::font_string_from_atlas_opengl_pipeline ( EveryApi & ev,
FtA atlas,
BM atlas_bm,
std::string str,
int x_gap )
Here is the caller graph for this function:

◆ fps_fetcher()

GameApi::FF GameApi::FontApi::fps_fetcher ( EveryApi & ev)
Here is the caller graph for this function:

◆ glyph()

EXPORT GameApi::BM GameApi::FontApi::glyph ( GameApi::Ft font,
long idx )
Here is the caller graph for this function:

◆ glyph_bb()

IMPORT BB GameApi::FontApi::glyph_bb ( Ft font,
long idx )
Here is the caller graph for this function:

◆ glyph_fb()

IMPORT FB GameApi::FontApi::glyph_fb ( Ft font,
long idx )
Here is the caller graph for this function:

◆ glyph_outline()

EXPORT GameApi::LI GameApi::FontApi::glyph_outline ( GameApi::Ft font,
long idx,
float sx,
float sy )
Here is the caller graph for this function:

◆ glyph_plane()

EXPORT GameApi::PL GameApi::FontApi::glyph_plane ( GameApi::Ft font,
long idx,
float sx,
float sy,
float dx,
float dy )
Here is the caller graph for this function:

◆ hmd_request_presenting()

GameApi::IF GameApi::FontApi::hmd_request_presenting ( IF i)

◆ hmd_state_fetcher()

GameApi::IF GameApi::FontApi::hmd_state_fetcher ( )
Here is the caller graph for this function:

◆ int_to_string_fetcher()

GameApi::SF GameApi::FontApi::int_to_string_fetcher ( IF fetcher)

◆ key_move_2_area_fetcher()

GameApi::IF GameApi::FontApi::key_move_2_area_fetcher ( float start_x,
float end_x,
float start_z,
float end_z )
Here is the caller graph for this function:

◆ keypress_int_fetcher()

EXPORT GameApi::IF GameApi::FontApi::keypress_int_fetcher ( int key,
int key_down_value,
int key_up_value )
Here is the caller graph for this function:

◆ large_string_from_atlas()

EXPORT GameApi::BM GameApi::FontApi::large_string_from_atlas ( EveryApi & ev,
FtA atlas,
BM atlas_bm,
std::string url,
int x_gap,
int empty_line_height,
int baseline_separation )
Here is the caller graph for this function:

◆ load_atlas()

EXPORT GameApi::FtA GameApi::FontApi::load_atlas ( std::string filename)
Here is the caller graph for this function:

◆ load_atlas_from_string()

EXPORT GameApi::FtA GameApi::FontApi::load_atlas_from_string ( std::string buf)

◆ load_font()

GameApi::FI GameApi::FontApi::load_font ( std::string ttf_filename,
int sx,
int sy )
Here is the caller graph for this function:

◆ load_font_dump()

GameApi::FI GameApi::FontApi::load_font_dump ( std::string url)
Here is the caller graph for this function:

◆ ml_chooser()

EXPORT GameApi::ML GameApi::FontApi::ml_chooser ( std::vector< ML > vec,
IF fetcher )
Here is the caller graph for this function:

◆ mouse_fetcher()

GameApi::PF GameApi::FontApi::mouse_fetcher ( )
Here is the caller graph for this function:

◆ movement_int_fetcher()

GameApi::IF GameApi::FontApi::movement_int_fetcher ( int count,
float x_mult,
float y_mult,
float z_mult )
Here is the caller graph for this function:

◆ newfont()

EXPORT GameApi::Ft GameApi::FontApi::newfont ( std::string filename,
int sx,
int sy )
Here is the caller graph for this function:

◆ outline_bm()

GameApi::BM GameApi::FontApi::outline_bm ( FI font,
std::string glyph )
Here is the caller graph for this function:

◆ outline_string()

GameApi::BM GameApi::FontApi::outline_string ( EveryApi & ev,
FI font,
std::string str )
Here is the caller graph for this function:

◆ point_fetcher_constant()

GameApi::PF GameApi::FontApi::point_fetcher_constant ( float x,
float y,
float z )
Here is the caller graph for this function:

◆ point_fetcher_part()

GameApi::PF GameApi::FontApi::point_fetcher_part ( PF point_fetcher,
int component,
FF float_fetcher )
Here is the caller graph for this function:

◆ quake_area_fetcher()

GameApi::IF GameApi::FontApi::quake_area_fetcher ( float start_x,
float end_x,
float start_z,
float end_z )
Here is the caller graph for this function:

◆ ready_fetcher()

GameApi::IF GameApi::FontApi::ready_fetcher ( P p)

◆ render_glyph()

GameApi::BM GameApi::FontApi::render_glyph ( GI glyph)

◆ repeat_int_fetcher()

EXPORT GameApi::IF GameApi::FontApi::repeat_int_fetcher ( IF fetcher,
float duration )
Here is the caller graph for this function:

◆ save_atlas()

EXPORT void GameApi::FontApi::save_atlas ( FtA atlas,
std::string filename )
Here is the caller graph for this function:

◆ save_atlas_store_file()

EXPORT void GameApi::FontApi::save_atlas_store_file ( FtA atlas,
std::string filename )

◆ save_font_dump()

GameApi::ML GameApi::FontApi::save_font_dump ( FI font,
std::string chars,
std::string filename )
Here is the caller graph for this function:

◆ score_fetcher()

GameApi::IF GameApi::FontApi::score_fetcher ( EveryApi & ev)

◆ score_string_fetcher()

GameApi::SF GameApi::FontApi::score_string_fetcher ( std::string id,
std::string label,
int numdigits )
Here is the caller graph for this function:

◆ span_key_fetcher()

GameApi::FF GameApi::FontApi::span_key_fetcher ( float start_x,
float end_x,
float speed_x,
int down_key,
int up_key )
Here is the caller graph for this function:

◆ string_display_to_bitmap()

GameApi::BM GameApi::FontApi::string_display_to_bitmap ( SD sd,
int def )
Here is the caller graph for this function:

◆ time_fetcher()

GameApi::IF GameApi::FontApi::time_fetcher ( EveryApi & ev,
float start_time )

◆ time_fetcher2()

GameApi::FF GameApi::FontApi::time_fetcher2 ( EveryApi & ev)
Here is the caller graph for this function:

◆ time_range_fetcher()

GameApi::FF GameApi::FontApi::time_range_fetcher ( float start_time,
float end_time,
float before_start,
float start_value,
float end_value,
float after_end,
float repeat )
Here is the caller graph for this function:

◆ time_range_fetcher_key()

GameApi::FF GameApi::FontApi::time_range_fetcher_key ( int key,
float start_time,
float end_time,
float before_start,
float start_value,
float end_value,
float after_end,
float repeat )
Here is the caller graph for this function:

◆ time_range_fetcher_state()

GameApi::FF GameApi::FontApi::time_range_fetcher_state ( int state,
IF states,
float start_time,
float end_time,
float before_start,
float start_value,
float end_value,
float after_end,
float repeat )

◆ time_range_fetcher_state_key()

GameApi::FF GameApi::FontApi::time_range_fetcher_state_key ( int state,
int key,
IF if_state,
float start_time,
float end_time,
float before_start,
float start_value,
float end_value,
float after_end,
float repeat )

◆ time_string_fetcher()

EXPORT GameApi::SF GameApi::FontApi::time_string_fetcher ( GameApi::EveryApi & ev)
Here is the caller graph for this function:

◆ timed_int_fetcher()

EXPORT GameApi::IF GameApi::FontApi::timed_int_fetcher ( EveryApi & ev,
int start,
int end,
float start_time,
float end_time )
Here is the caller graph for this function:

◆ toggle_button_fetcher()

GameApi::IF GameApi::FontApi::toggle_button_fetcher ( float start_x,
float end_x,
float start_y,
float end_y )
Here is the caller graph for this function:

◆ x_comp()

GameApi::IF GameApi::FontApi::x_comp ( PF point_fetcher,
float start_x,
float end_x,
int num_steps )
Here is the caller graph for this function:

◆ y_comp()

GameApi::IF GameApi::FontApi::y_comp ( PF point_fetcher,
float start_y,
float end_y,
int num_steps )
Here is the caller graph for this function:

◆ z_comp()

GameApi::IF GameApi::FontApi::z_comp ( PF point_fetcher,
float start_z,
float end_z,
int num_steps )
Here is the caller graph for this function:

The documentation for this class was generated from the following files: