RetroArch
|
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <ctype.h>
#include <ft2build.h>
#include <file/file_path.h>
#include <streams/file_stream.h>
#include <retro_miscellaneous.h>
#include <string/stdstring.h>
#include "../font_driver.h"
Classes | |
struct | freetype_atlas_slot |
struct | freetype_renderer |
Macros | |
#define | FT_ATLAS_ROWS 16 |
#define | FT_ATLAS_COLS 16 |
#define | FT_ATLAS_SIZE (FT_ATLAS_ROWS * FT_ATLAS_COLS) |
Typedefs | |
typedef struct freetype_atlas_slot | freetype_atlas_slot_t |
typedef struct freetype_renderer | ft_font_renderer_t |
Functions | |
static struct font_atlas * | font_renderer_ft_get_atlas (void *data) |
static void | font_renderer_ft_free (void *data) |
static freetype_atlas_slot_t * | font_renderer_get_slot (ft_font_renderer_t *handle) |
static const struct font_glyph * | font_renderer_ft_get_glyph (void *data, uint32_t charcode) |
static bool | font_renderer_create_atlas (ft_font_renderer_t *handle, float font_size) |
static void * | font_renderer_ft_init (const char *font_path, float font_size) |
static const char * | font_renderer_ft_get_default_font (void) |
static int | font_renderer_ft_get_line_height (void *data) |
Variables | |
static const char * | font_paths [] |
font_renderer_driver_t | freetype_font_renderer |
#define FT_ATLAS_COLS 16 |
#define FT_ATLAS_ROWS 16 |
#define FT_ATLAS_SIZE (FT_ATLAS_ROWS * FT_ATLAS_COLS) |
typedef struct freetype_atlas_slot freetype_atlas_slot_t |
typedef struct freetype_renderer ft_font_renderer_t |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
font_renderer_driver_t freetype_font_renderer |