ReactOS 0.4.15-dev-7654-g6bc40d3
afdummy.c File Reference
#include "afdummy.h"
#include "afhints.h"
#include "aferrors.h"
Include dependency graph for afdummy.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static FT_Error af_dummy_hints_init (AF_GlyphHints hints, AF_StyleMetrics metrics)
 
static FT_Error af_dummy_hints_apply (FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline *outline)
 

Function Documentation

◆ af_dummy_hints_apply()

static FT_Error af_dummy_hints_apply ( FT_UInt  glyph_index,
AF_GlyphHints  hints,
FT_Outline outline 
)
static

Definition at line 41 of file afdummy.c.

44 {
46
47 FT_UNUSED( glyph_index );
48
49
51 if ( !error )
53
54 return error;
55 }
af_glyph_hints_save(AF_GlyphHints hints, FT_Outline *outline)
Definition: afhints.c:1146
af_glyph_hints_reload(AF_GlyphHints hints, FT_Outline *outline)
Definition: afhints.c:732
#define FT_UNUSED(arg)
Definition: ftconfig.h:101
int FT_Error
Definition: fttypes.h:300
#define error(str)
Definition: mkdosfs.c:1605
namespace GUID const ADDRINFOEXW * hints
Definition: sock.c:80
Definition: mesh.c:5330

◆ af_dummy_hints_init()

static FT_Error af_dummy_hints_init ( AF_GlyphHints  hints,
AF_StyleMetrics  metrics 
)
static

Definition at line 26 of file afdummy.c.

28 {
30
31 hints->x_scale = metrics->scaler.x_scale;
32 hints->y_scale = metrics->scaler.y_scale;
33 hints->x_delta = metrics->scaler.x_delta;
34 hints->y_delta = metrics->scaler.y_delta;
35
36 return FT_Err_Ok;
37 }
af_glyph_hints_rescale(AF_GlyphHints hints, AF_StyleMetrics metrics)
Definition: afhints.c:720
return FT_Err_Ok
Definition: ftbbox.c:511
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
Definition: glext.h:11745