|
| | fond_font () |
| void | cleanup () |
| void | cleanup_fontdata () |
| void | set_error (FondError code) |
| void | free_memory () |
| int | init () |
| int | load_fit (unsigned int max_size) |
| int | compute (char *text, size_t *n, unsigned int *vao) |
| int | compute_utf (int32_t *text, size_t size, size_t *n, unsigned int *vao) |
| int | codepoint_index (unsigned int glyph) |
| int | update (char *text, size_t *n, unsigned int vbo, unsigned int ebo) |
| int | update_utf (int32_t *text, size_t num_chars, size_t *n, unsigned int vbo, unsigned int ebo, int *width=NULL, int *height=NULL) |
| int | compute_extent (char *text, fond_extent *extent) |
| int | compute_extent_utf (int32_t *text, size_t size, fond_extent *extent) |
| int | load_file (const char *file, unsigned char **content) |
◆ fond_font()
◆ cleanup()
| void fond_font::cleanup |
( |
| ) |
|
◆ cleanup_fontdata()
| void fond_font::cleanup_fontdata |
( |
| ) |
|
◆ set_error()
◆ free_memory()
| void fond_font::free_memory |
( |
| ) |
|
◆ init()
◆ load_fit()
| int fond_font::load_fit |
( |
unsigned int | max_size | ) |
|
◆ compute()
| int fond_font::compute |
( |
char * | text, |
|
|
size_t * | n, |
|
|
unsigned int * | vao ) |
◆ compute_utf()
| int fond_font::compute_utf |
( |
int32_t * | text, |
|
|
size_t | size, |
|
|
size_t * | n, |
|
|
unsigned int * | vao ) |
◆ codepoint_index()
| int fond_font::codepoint_index |
( |
unsigned int | glyph | ) |
|
◆ update()
| int fond_font::update |
( |
char * | text, |
|
|
size_t * | n, |
|
|
unsigned int | vbo, |
|
|
unsigned int | ebo ) |
◆ update_utf()
| int fond_font::update_utf |
( |
int32_t * | text, |
|
|
size_t | num_chars, |
|
|
size_t * | n, |
|
|
unsigned int | vbo, |
|
|
unsigned int | ebo, |
|
|
int * | width = NULL, |
|
|
int * | height = NULL ) |
◆ compute_extent()
| int fond_font::compute_extent |
( |
char * | text, |
|
|
fond_extent * | extent ) |
◆ compute_extent_utf()
| int fond_font::compute_extent_utf |
( |
int32_t * | text, |
|
|
size_t | size, |
|
|
fond_extent * | extent ) |
◆ load_file()
| int fond_font::load_file |
( |
const char * | file, |
|
|
unsigned char ** | content ) |
◆ m_file
| const char* fond_font::m_file |
◆ m_index
◆ m_vsize
◆ m_characters
| const char* fond_font::m_characters |
◆ m_codepoints
| int32_t* fond_font::m_codepoints |
◆ m_width
| unsigned int fond_font::m_width |
◆ m_height
| unsigned int fond_font::m_height |
◆ m_oversample
| unsigned int fond_font::m_oversample |
◆ m_atlas
| unsigned int fond_font::m_atlas |
◆ m_fontdata
| unsigned char* fond_font::m_fontdata |
◆ m_chardata
◆ m_fontinfo
◆ m_converted_codepoints
| int fond_font::m_converted_codepoints |
◆ m_allocated_atlas
| int fond_font::m_allocated_atlas |
◆ m_error_code
The documentation for this struct was generated from the following file: