ReactOS  0.4.15-dev-1377-ga59cecd
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  }
namespace GUID const ADDRINFOEXW * hints
Definition: sock.c:80
af_glyph_hints_save(AF_GlyphHints hints, FT_Outline *outline)
Definition: afhints.c:1146
int FT_Error
Definition: fttypes.h:300
#define error(str)
Definition: mkdosfs.c:1605
af_glyph_hints_reload(AF_GlyphHints hints, FT_Outline *outline)
Definition: afhints.c:732
Definition: mesh.c:5329
#define FT_UNUSED(arg)
Definition: ftconfig.h:101

◆ 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  }
namespace GUID const ADDRINFOEXW * hints
Definition: sock.c:80
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
Definition: glext.h:11745
return FT_Err_Ok
Definition: ftbbox.c:511
af_glyph_hints_rescale(AF_GlyphHints hints, AF_StyleMetrics metrics)
Definition: afhints.c:720