RetroArch
Classes | Functions | Variables
sixel_font.c File Reference
#include <stdlib.h>
#include <string/stdstring.h>
#include <sixel.h>
#include "../font_driver.h"
#include "../../verbosity.h"
#include "../common/sixel_common.h"
Include dependency graph for sixel_font.c:

Classes

struct  sixel_raster_t
 

Functions

static voidsixel_init_font (void *data, const char *font_path, float font_size, bool is_threaded)
 
static void sixel_render_free_font (void *data, bool is_threaded)
 
static int sixel_get_message_width (void *data, const char *msg, unsigned msg_len, float scale)
 
static const struct font_glyphsixel_font_get_glyph (void *data, uint32_t code)
 
static void sixel_render_msg (video_frame_info_t *video_info, void *data, const char *msg, const void *userdata)
 

Variables

font_renderer_t sixel_font
 

Function Documentation

◆ sixel_font_get_glyph()

static const struct font_glyph* sixel_font_get_glyph ( void data,
uint32_t  code 
)
static

◆ sixel_get_message_width()

static int sixel_get_message_width ( void data,
const char *  msg,
unsigned  msg_len,
float  scale 
)
static

◆ sixel_init_font()

static void* sixel_init_font ( void data,
const char *  font_path,
float  font_size,
bool  is_threaded 
)
static
Here is the call graph for this function:

◆ sixel_render_free_font()

static void sixel_render_free_font ( void data,
bool  is_threaded 
)
static
Here is the call graph for this function:

◆ sixel_render_msg()

static void sixel_render_msg ( video_frame_info_t video_info,
void data,
const char *  msg,
const void userdata 
)
static
Here is the call graph for this function:

Variable Documentation

◆ sixel_font

font_renderer_t sixel_font
Initial value:
= {
"sixel font",
NULL,
NULL,
}
static const struct font_glyph * sixel_font_get_glyph(void *data, uint32_t code)
Definition: sixel_font.c:71
static int sixel_get_message_width(void *data, const char *msg, unsigned msg_len, float scale)
Definition: sixel_font.c:65
static void sixel_render_msg(video_frame_info_t *video_info, void *data, const char *msg, const void *userdata)
Definition: sixel_font.c:77
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void sixel_render_free_font(void *data, bool is_threaded)
Definition: sixel_font.c:59
static void * sixel_init_font(void *data, const char *font_path, float font_size, bool is_threaded)
Definition: sixel_font.c:37