RetroArch
Classes | Typedefs | Functions | Variables
font_driver.h File Reference
#include <stdint.h>
#include <boolean.h>
#include <retro_common_api.h>
#include "video_driver.h"
Include dependency graph for font_driver.h:

Go to the source code of this file.

Classes

struct  font_glyph
 
struct  font_atlas
 
struct  font_params
 
struct  font_renderer
 
struct  font_renderer_driver
 
struct  font_data_t
 

Typedefs

typedef struct font_renderer font_renderer_t
 
typedef struct font_renderer_driver font_renderer_driver_t
 

Functions

int font_renderer_create_default (const font_renderer_driver_t **drv, void **handle, const char *font_path, unsigned font_size)
 
void font_driver_render_msg (video_frame_info_t *video_info, void *font_data, const char *msg, const struct font_params *params)
 
void font_driver_bind_block (void *font_data, void *block)
 
int font_driver_get_message_width (void *font_data, const char *msg, unsigned len, float scale)
 
void font_driver_flush (unsigned width, unsigned height, void *font_data, video_frame_info_t *video_info)
 
void font_driver_free (void *font_data)
 
font_data_tfont_driver_init_first (void *video_data, const char *font_path, float font_size, bool threading_hint, bool is_threaded, enum font_driver_render_api api)
 
void font_driver_init_osd (void *video_data, bool threading_hint, bool is_threaded, enum font_driver_render_api api)
 
void font_driver_free_osd (void)
 

Variables

font_renderer_t gl_raster_font
 
font_renderer_t libdbg_font
 
font_renderer_t d3d_xbox360_font
 
font_renderer_t d3d_xdk1_font
 
font_renderer_t d3d_win32_font
 
font_renderer_t vita2d_vita_font
 
font_renderer_t ctr_font
 
font_renderer_t wiiu_font
 
font_renderer_t vulkan_raster_font
 
font_renderer_t metal_raster_font
 
font_renderer_t d3d10_font
 
font_renderer_t d3d11_font
 
font_renderer_t d3d12_font
 
font_renderer_t caca_font
 
font_renderer_t gdi_font
 
font_renderer_t vga_font
 
font_renderer_t sixel_font
 
font_renderer_t switch_font
 
font_renderer_driver_t stb_font_renderer
 
font_renderer_driver_t stb_unicode_font_renderer
 
font_renderer_driver_t freetype_font_renderer
 
font_renderer_driver_t coretext_font_renderer
 
font_renderer_driver_t bitmap_font_renderer
 

Typedef Documentation

◆ font_renderer_driver_t

◆ font_renderer_t

Function Documentation

◆ font_driver_bind_block()

void font_driver_bind_block ( void font_data,
void block 
)
Here is the caller graph for this function:

◆ font_driver_flush()

void font_driver_flush ( unsigned  width,
unsigned  height,
void font_data,
video_frame_info_t video_info 
)
Here is the caller graph for this function:

◆ font_driver_free()

void font_driver_free ( void font_data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_free_osd()

void font_driver_free_osd ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_get_message_width()

int font_driver_get_message_width ( void font_data,
const char *  msg,
unsigned  len,
float  scale 
)
Here is the caller graph for this function:

◆ font_driver_init_first()

font_data_t* font_driver_init_first ( void video_data,
const char *  font_path,
float  font_size,
bool  threading_hint,
bool  is_threaded,
enum font_driver_render_api  api 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_init_osd()

void font_driver_init_osd ( void video_data,
bool  threading_hint,
bool  is_threaded,
enum font_driver_render_api  api 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_driver_render_msg()

void font_driver_render_msg ( video_frame_info_t video_info,
void font_data,
const char *  msg,
const struct font_params params 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ font_renderer_create_default()

int font_renderer_create_default ( const font_renderer_driver_t **  drv,
void **  handle,
const char *  font_path,
unsigned  font_size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bitmap_font_renderer

font_renderer_driver_t bitmap_font_renderer

◆ caca_font

font_renderer_t caca_font

◆ coretext_font_renderer

font_renderer_driver_t coretext_font_renderer

◆ ctr_font

font_renderer_t ctr_font

◆ d3d10_font

font_renderer_t d3d10_font

◆ d3d11_font

font_renderer_t d3d11_font

◆ d3d12_font

font_renderer_t d3d12_font

◆ d3d_win32_font

font_renderer_t d3d_win32_font

◆ d3d_xbox360_font

font_renderer_t d3d_xbox360_font

◆ d3d_xdk1_font

font_renderer_t d3d_xdk1_font

◆ freetype_font_renderer

font_renderer_driver_t freetype_font_renderer

◆ gdi_font

font_renderer_t gdi_font

◆ gl_raster_font

font_renderer_t gl_raster_font

◆ libdbg_font

font_renderer_t libdbg_font

◆ metal_raster_font

font_renderer_t metal_raster_font

◆ sixel_font

font_renderer_t sixel_font

◆ stb_font_renderer

font_renderer_driver_t stb_font_renderer

◆ stb_unicode_font_renderer

font_renderer_driver_t stb_unicode_font_renderer

◆ switch_font

font_renderer_t switch_font

◆ vga_font

font_renderer_t vga_font

◆ vita2d_vita_font

font_renderer_t vita2d_vita_font

◆ vulkan_raster_font

font_renderer_t vulkan_raster_font

◆ wiiu_font

font_renderer_t wiiu_font