RetroArch
|
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <CoreFoundation/CFString.h>
#include <ApplicationServices/ApplicationServices.h>
#include "../font_driver.h"
Classes | |
struct | coretext_atlas_slot |
struct | coretext_renderer |
Macros | |
#define | CT_ATLAS_ROWS 16 |
#define | CT_ATLAS_COLS 16 |
#define | CT_ATLAS_SIZE (CT_ATLAS_ROWS * CT_ATLAS_COLS) |
Typedefs | |
typedef struct coretext_atlas_slot | coretext_atlas_slot_t |
typedef struct coretext_renderer | ct_font_renderer_t |
Functions | |
static struct font_atlas * | font_renderer_ct_get_atlas (void *data) |
static const struct font_glyph * | font_renderer_ct_get_glyph (void *data, uint32_t charcode) |
static void | font_renderer_ct_free (void *data) |
static bool | coretext_font_renderer_create_atlas (CTFontRef face, ct_font_renderer_t *handle) |
static void * | font_renderer_ct_init (const char *font_path, float font_size) |
static const char * | font_renderer_ct_get_default_font (void) |
static int | font_renderer_ct_get_line_height (void *data) |
Variables | |
static const char * | default_font = "Verdana" |
font_renderer_driver_t | coretext_font_renderer |
#define CT_ATLAS_COLS 16 |
#define CT_ATLAS_ROWS 16 |
#define CT_ATLAS_SIZE (CT_ATLAS_ROWS * CT_ATLAS_COLS) |
typedef struct coretext_atlas_slot coretext_atlas_slot_t |
typedef struct coretext_renderer ct_font_renderer_t |
|
static |
|
static |
|
static |
|
static |
font_renderer_driver_t coretext_font_renderer |
|
static |