RetroArch
|
#include <ctype.h>
#include <file/file_path.h>
#include <streams/file_stream.h>
#include <retro_miscellaneous.h>
#include "../font_driver.h"
#include "../../verbosity.h"
#include "../../deps/stb/stb_rect_pack.h"
#include "../../deps/stb/stb_truetype.h"
Classes | |
struct | stb_unicode_atlas_slot |
struct | stb_unicode_font_renderer_t |
Macros | |
#define | STB_TRUETYPE_IMPLEMENTATION |
#define | STB_RECT_PACK_IMPLEMENTATION |
#define | STBTT_STATIC |
#define | STBRP_STATIC |
#define | STATIC static INLINE |
#define | STB_UNICODE_ATLAS_ROWS 16 |
#define | STB_UNICODE_ATLAS_COLS 16 |
#define | STB_UNICODE_ATLAS_SIZE (STB_UNICODE_ATLAS_ROWS * STB_UNICODE_ATLAS_COLS) |
Typedefs | |
typedef struct stb_unicode_atlas_slot | stb_unicode_atlas_slot_t |
Functions | |
static struct font_atlas * | font_renderer_stb_unicode_get_atlas (void *data) |
static void | font_renderer_stb_unicode_free (void *data) |
static stb_unicode_atlas_slot_t * | font_renderer_stb_unicode_get_slot (stb_unicode_font_renderer_t *handle) |
static const struct font_glyph * | font_renderer_stb_unicode_get_glyph (void *data, uint32_t charcode) |
static bool | font_renderer_stb_unicode_create_atlas (stb_unicode_font_renderer_t *self, float font_size) |
static void * | font_renderer_stb_unicode_init (const char *font_path, float font_size) |
static const char * | font_renderer_stb_unicode_get_default_font (void) |
static int | font_renderer_stb_unicode_get_line_height (void *data) |
Variables | |
font_renderer_driver_t | stb_unicode_font_renderer |
#define STATIC static INLINE |
#define STB_RECT_PACK_IMPLEMENTATION |
#define STB_TRUETYPE_IMPLEMENTATION |
#define STB_UNICODE_ATLAS_COLS 16 |
#define STB_UNICODE_ATLAS_ROWS 16 |
#define STB_UNICODE_ATLAS_SIZE (STB_UNICODE_ATLAS_ROWS * STB_UNICODE_ATLAS_COLS) |
#define STBRP_STATIC |
#define STBTT_STATIC |
typedef struct stb_unicode_atlas_slot stb_unicode_atlas_slot_t |
|
static |
|
static |
|
static |
|
static |
|
static |
font_renderer_driver_t stb_unicode_font_renderer |