RetroArch
Classes | Macros | Typedefs | Functions | Variables
d3d_w32_font.c File Reference
#include <tchar.h>
#include <compat/strl.h>
#include "../common/d3d_common.h"
#include "../common/d3d9_common.h"
#include "../font_driver.h"
#include "../../configuration.h"
Include dependency graph for d3d_w32_font.c:

Classes

struct  d3dx_font_desc
 
struct  d3dfonts_t
 

Macros

#define CINTERFACE
 

Typedefs

typedef struct d3dx_font_desc d3dx_font_desc_t
 

Functions

static voidd3dfonts_w32_init_font (void *video_data, const char *font_path, float font_size, bool is_threaded)
 
static void d3dfonts_w32_free_font (void *data, bool is_threaded)
 
static int d3dfonts_w32_get_message_width (void *data, const char *msg, unsigned msg_len, float scale)
 
static void d3dfonts_w32_render_msg (video_frame_info_t *video_info, void *data, const char *msg, const struct font_params *params)
 

Variables

font_renderer_t d3d_win32_font
 

Macro Definition Documentation

◆ CINTERFACE

#define CINTERFACE

Typedef Documentation

◆ d3dx_font_desc_t

Function Documentation

◆ d3dfonts_w32_free_font()

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

◆ d3dfonts_w32_get_message_width()

static int d3dfonts_w32_get_message_width ( void data,
const char *  msg,
unsigned  msg_len,
float  scale 
)
static
Here is the call graph for this function:

◆ d3dfonts_w32_init_font()

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

◆ d3dfonts_w32_render_msg()

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

◆ d3d_win32_font

font_renderer_t d3d_win32_font
Initial value:
= {
"d3dxfont",
NULL,
NULL,
NULL,
}
static void * d3dfonts_w32_init_font(void *video_data, const char *font_path, float font_size, bool is_threaded)
Definition: d3d_w32_font.c:56
static void d3dfonts_w32_render_msg(video_frame_info_t *video_info, void *data, const char *msg, const struct font_params *params)
Definition: d3d_w32_font.c:132
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static int d3dfonts_w32_get_message_width(void *data, const char *msg, unsigned msg_len, float scale)
Definition: d3d_w32_font.c:116
static void d3dfonts_w32_free_font(void *data, bool is_threaded)
Definition: d3d_w32_font.c:102