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

Classes

struct  vga_raster_t
 

Functions

static voidvga_init_font (void *data, const char *font_path, float font_size, bool is_threaded)
 
static void vga_render_free_font (void *data, bool is_threaded)
 
static int vga_get_message_width (void *data, const char *msg, unsigned msg_len, float scale)
 
static const struct font_glyphvga_font_get_glyph (void *data, uint32_t code)
 
static void vga_render_msg (video_frame_info_t *video_info, void *data, const char *msg, const struct font_params *params)
 

Variables

font_renderer_t vga_font
 

Function Documentation

◆ vga_font_get_glyph()

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

◆ vga_get_message_width()

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

◆ vga_init_font()

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

◆ vga_render_free_font()

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

◆ vga_render_msg()

static void vga_render_msg ( video_frame_info_t video_info,
void data,
const char *  msg,
const struct font_params params 
)
static
Here is the call graph for this function:

Variable Documentation

◆ vga_font

font_renderer_t vga_font
Initial value:
= {
"vga font",
NULL,
NULL,
}
static void vga_render_msg(video_frame_info_t *video_info, void *data, const char *msg, const struct font_params *params)
Definition: vga_font.c:78
static void vga_render_free_font(void *data, bool is_threaded)
Definition: vga_font.c:60
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static const struct font_glyph * vga_font_get_glyph(void *data, uint32_t code)
Definition: vga_font.c:72
static void * vga_init_font(void *data, const char *font_path, float font_size, bool is_threaded)
Definition: vga_font.c:36
static int vga_get_message_width(void *data, const char *msg, unsigned msg_len, float scale)
Definition: vga_font.c:66