RetroArch
Classes | Functions | Variables
gdi_font.c File Reference
#include <stdlib.h>
#include <string/stdstring.h>
#include <encodings/utf.h>
#include <lists/string_list.h>
#include "../font_driver.h"
#include "../video_driver.h"
#include "../../configuration.h"
#include "../../verbosity.h"
#include "../common/gdi_common.h"
#include "../common/win32_common.h"
#include <windows.h>
#include <wingdi.h>
Include dependency graph for gdi_font.c:

Classes

struct  gdi_raster_t
 

Functions

static voidgdi_init_font (void *data, const char *font_path, float font_size, bool is_threaded)
 
static void gdi_render_free_font (void *data, bool is_threaded)
 
static int gdi_get_message_width (void *data, const char *msg, unsigned msg_len, float scale)
 
static const struct font_glyphgdi_font_get_glyph (void *data, uint32_t code)
 
static void gdi_render_msg (video_frame_info_t *video_info, void *data, const char *msg, const struct font_params *params)
 
static void gdi_font_flush_block (unsigned width, unsigned height, void *data, video_frame_info_t *video_info)
 
static void gdi_font_bind_block (void *data, void *userdata)
 

Variables

font_renderer_t gdi_font
 

Function Documentation

◆ gdi_font_bind_block()

static void gdi_font_bind_block ( void data,
void userdata 
)
static
Here is the call graph for this function:

◆ gdi_font_flush_block()

static void gdi_font_flush_block ( unsigned  width,
unsigned  height,
void data,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ gdi_font_get_glyph()

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

◆ gdi_get_message_width()

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

◆ gdi_init_font()

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

◆ gdi_render_free_font()

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

◆ gdi_render_msg()

static void gdi_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

◆ gdi_font

font_renderer_t gdi_font
Initial value:
= {
"gdi font",
}
static void gdi_render_msg(video_frame_info_t *video_info, void *data, const char *msg, const struct font_params *params)
Definition: gdi_font.c:84
static void * gdi_init_font(void *data, const char *font_path, float font_size, bool is_threaded)
Definition: gdi_font.c:44
static const struct font_glyph * gdi_font_get_glyph(void *data, uint32_t code)
Definition: gdi_font.c:78
static void gdi_render_free_font(void *data, bool is_threaded)
Definition: gdi_font.c:66
static int gdi_get_message_width(void *data, const char *msg, unsigned msg_len, float scale)
Definition: gdi_font.c:72
static void gdi_font_flush_block(unsigned width, unsigned height, void *data, video_frame_info_t *video_info)
Definition: gdi_font.c:197
static void gdi_font_bind_block(void *data, void *userdata)
Definition: gdi_font.c:203