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_font_renderer_t |
Macros | |
#define | STB_TRUETYPE_IMPLEMENTATION |
#define | STB_RECT_PACK_IMPLEMENTATION |
#define | STBTT_STATIC |
#define | STBRP_STATIC |
#define | STATIC static INLINE |
Functions | |
static struct font_atlas * | font_renderer_stb_get_atlas (void *data) |
static const struct font_glyph * | font_renderer_stb_get_glyph (void *data, uint32_t code) |
static void | font_renderer_stb_free (void *data) |
static bool | font_renderer_stb_create_atlas (stb_font_renderer_t *self, uint8_t *font_data, float font_size, unsigned width, unsigned height) |
static void * | font_renderer_stb_init (const char *font_path, float font_size) |
static const char * | font_renderer_stb_get_default_font (void) |
static int | font_renderer_stb_get_line_height (void *data) |
Variables | |
font_renderer_driver_t | stb_font_renderer |
#define STATIC static INLINE |
#define STB_RECT_PACK_IMPLEMENTATION |
#define STB_TRUETYPE_IMPLEMENTATION |
#define STBRP_STATIC |
#define STBTT_STATIC |
|
static |
|
static |
|
static |
|
static |
font_renderer_driver_t stb_font_renderer |