RetroArch
|
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <boolean.h>
#include "bitmap.h"
#include "../font_driver.h"
Classes | |
struct | bm_renderer |
Macros | |
#define | BMP_ATLAS_COLS 16 |
#define | BMP_ATLAS_ROWS 16 |
#define | BMP_ATLAS_SIZE (BMP_ATLAS_COLS * BMP_ATLAS_ROWS) |
Typedefs | |
typedef struct bm_renderer | bm_renderer_t |
Functions | |
static struct font_atlas * | font_renderer_bmp_get_atlas (void *data) |
static const struct font_glyph * | font_renderer_bmp_get_glyph (void *data, uint32_t code) |
static void | char_to_texture (bm_renderer_t *handle, uint8_t letter, unsigned atlas_x, unsigned atlas_y) |
static void * | font_renderer_bmp_init (const char *font_path, float font_size) |
static void | font_renderer_bmp_free (void *data) |
static const char * | font_renderer_bmp_get_default_font (void) |
static int | font_renderer_bmp_get_line_height (void *data) |
Variables | |
font_renderer_driver_t | bitmap_font_renderer |
#define BMP_ATLAS_COLS 16 |
#define BMP_ATLAS_ROWS 16 |
#define BMP_ATLAS_SIZE (BMP_ATLAS_COLS * BMP_ATLAS_ROWS) |
typedef struct bm_renderer bm_renderer_t |
|
static |
|
static |
|
static |
|
static |
font_renderer_driver_t bitmap_font_renderer |