ReactOS 0.4.15-dev-7897-g78dc504
afloader.h
Go to the documentation of this file.
1/***************************************************************************/
2/* */
3/* afloader.h */
4/* */
5/* Auto-fitter glyph loading routines (specification). */
6/* */
7/* Copyright 2003-2018 by */
8/* David Turner, Robert Wilhelm, and Werner Lemberg. */
9/* */
10/* This file is part of the FreeType project, and may only be used, */
11/* modified, and distributed under the terms of the FreeType project */
12/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13/* this file you indicate that you have read the license and */
14/* understand and accept it fully. */
15/* */
16/***************************************************************************/
17
18
19#ifndef AFLOADER_H_
20#define AFLOADER_H_
21
22#include "afhints.h"
23#include "afmodule.h"
24#include "afglobal.h"
25
26
28
29 /*
30 * The autofitter module's (global) data structure to communicate with
31 * actual fonts. If necessary, `local' data like the current face, the
32 * current face's auto-hint data, or the current glyph's parameters
33 * relevant to auto-hinting are `swapped in'. Cf. functions like
34 * `af_loader_reset' and `af_loader_load_g'.
35 */
36
37 typedef struct AF_LoaderRec_
38 {
39 /* current face data */
42
43 /* current glyph data */
51 /* we don't handle vertical phantom points */
52
54
55
56 FT_LOCAL( void )
59
60
64 FT_Face face );
65
66
67 FT_LOCAL( void )
68 af_loader_done( AF_Loader loader );
69
70
75 FT_UInt gindex,
76 FT_Int32 load_flags );
77
78 FT_LOCAL_DEF( FT_Int32 )
82
83/* */
84
85
87
88#endif /* AFLOADER_H_ */
89
90
91/* END */
FT_BEGIN_HEADER struct AF_LoaderRec_ AF_LoaderRec
af_loader_init(AF_Loader loader, AF_GlyphHints hints)
Definition: afloader.c:32
af_loader_compute_darkening(AF_Loader loader, FT_Face face, FT_Pos standard_width)
Definition: afloader.c:599
af_loader_reset(AF_Loader loader, AF_Module module, FT_Face face)
Definition: afloader.c:44
af_loader_done(AF_Loader loader)
Definition: afloader.c:73
FT_BEGIN_HEADER struct AF_LoaderRec_ * AF_Loader
af_loader_load_glyph(AF_Loader loader, AF_Module module, FT_Face face, FT_UInt gindex, FT_Int32 load_flags)
Definition: afloader.c:214
FT_BEGIN_HEADER struct AF_ModuleRec_ * AF_Module
#define FT_LOCAL_DEF(x)
Definition: ftconfig.h:388
#define FT_LOCAL(x)
Definition: ftconfig.h:387
#define FT_END_HEADER
Definition: ftheader.h:54
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_BEGIN_HEADER typedef signed long FT_Pos
Definition: ftimage.h:58
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
int FT_Error
Definition: fttypes.h:300
unsigned int FT_UInt
Definition: fttypes.h:231
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
namespace GUID const ADDRINFOEXW * hints
Definition: sock.c:80
AF_GlyphHints hints
Definition: afloader.h:44
FT_Vector pp2
Definition: afloader.h:50
FT_Matrix trans_matrix
Definition: afloader.h:47
FT_Vector trans_delta
Definition: afloader.h:48
AF_FaceGlobals globals
Definition: afloader.h:41
FT_Face face
Definition: afloader.h:40
FT_Bool transformed
Definition: afloader.h:46
AF_StyleMetrics metrics
Definition: afloader.h:45
FT_Vector pp1
Definition: afloader.h:49
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE standard_width
Definition: t1tokens.h:83