Go to the source code of this file.
|
| enum | FondError {
FOND_NO_ERROR
, FOND_FILE_LOAD_FAILED
, FOND_OUT_OF_MEMORY
, FOND_FONT_PACK_FAILED
,
FOND_FONT_INIT_FAILED
, FOND_OPENGL_ERROR
, FOND_SIZE_EXCEEDED
, FOND_NOT_LOADED
,
FOND_UTF8_CONVERSION_ERROR
, FOND_UNLOADED_GLYPH
, FOND_NO_CHARACTERS_OR_CODEPOINTS
} |
|
| DT_DLL_VRVGRAPHICSUTILS int | fond_render (fond_buffer *buffer, const char *text, float x, float y, float *color, int layer_index, float aspect_ratio=1.0f) |
| DT_DLL_VRVGRAPHICSUTILS int | fond_render_utf (fond_buffer *buffer, int32_t *text, size_t num_chars, float x, float y, float *color, int layer_index, float aspect_ratio=1.0f) |
| DT_DLL_VRVGRAPHICSUTILS int | fond_decode_utf8 (void *string, int32_t **decoded, size_t *size, FondError &error) |
| DT_DLL_VRVGRAPHICSUTILS const char * | fond_error_string (FondError error) |
| int | fond_check_glerror () |
| int | fond_check_shader (GLuint shader) |
| int | fond_check_program (GLuint program) |
◆ FontDataMap
◆ FondError
| Enumerator |
|---|
| FOND_NO_ERROR | |
| FOND_FILE_LOAD_FAILED | |
| FOND_OUT_OF_MEMORY | |
| FOND_FONT_PACK_FAILED | |
| FOND_FONT_INIT_FAILED | |
| FOND_OPENGL_ERROR | |
| FOND_SIZE_EXCEEDED | |
| FOND_NOT_LOADED | |
| FOND_UTF8_CONVERSION_ERROR | |
| FOND_UNLOADED_GLYPH | |
| FOND_NO_CHARACTERS_OR_CODEPOINTS | |
◆ fond_render()
◆ fond_render_utf()
| DT_DLL_VRVGRAPHICSUTILS int fond_render_utf |
( |
fond_buffer * | buffer, |
|
|
int32_t * | text, |
|
|
size_t | num_chars, |
|
|
float | x, |
|
|
float | y, |
|
|
float * | color, |
|
|
int | layer_index, |
|
|
float | aspect_ratio = 1.0f ) |
◆ fond_decode_utf8()
◆ fond_error_string()
◆ fond_check_glerror()
| int fond_check_glerror |
( |
| ) |
|
◆ fond_check_shader()
| int fond_check_shader |
( |
GLuint | shader | ) |
|
◆ fond_check_program()
| int fond_check_program |
( |
GLuint | program | ) |
|
◆ the_font_data