Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
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-2005, 2011-2012 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 "afglobal.h"
24 
25 
27 
28  typedef struct AF_ModuleRec_* AF_Module;
29 
30  /*
31  * The autofitter module's (global) data structure to communicate with
32  * actual fonts. If necessary, `local' data like the current face, the
33  * current face's auto-hint data, or the current glyph's parameters
34  * relevant to auto-hinting are `swapped in'. Cf. functions like
35  * `af_loader_reset' and `af_loader_load_g'.
36  */
37 
38  typedef struct AF_LoaderRec_
39  {
40  /* current face data */
43 
44  /* current glyph data */
53  /* we don't handle vertical phantom points */
54 
56 
57 
59  af_loader_init( AF_Module module );
60 
61 
63  af_loader_reset( AF_Module module,
64  FT_Face face );
65 
66 
67  FT_LOCAL( void )
68  af_loader_done( AF_Module module );
69 
70 
72  af_loader_load_glyph( AF_Module module,
73  FT_Face face,
74  FT_UInt gindex,
75  FT_Int32 load_flags );
76 
77 /* */
78 
79 
81 
82 #endif /* __AFLOADER_H__ */
83 
84 
85 /* END */
int FT_Error
Definition: fttypes.h:296
FT_Vector pp2
Definition: afloader.h:52
typedefFT_BEGIN_HEADER struct AF_ModuleRec_ * AF_Module
Definition: afloader.h:28
#define FT_END_HEADER
Definition: ftheader.h:54
FT_Vector pp1
Definition: afloader.h:51
struct AF_LoaderRec_ AF_LoaderRec
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
GLenum GLuint GLint GLenum face
typedefFT_BEGIN_HEADER struct FT_GlyphLoaderRec_ * FT_GlyphLoader
Definition: ftgloadr.h:43
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
af_loader_reset(AF_Module module, FT_Face face)
Definition: afloader.c:48
#define FT_LOCAL(x)
Definition: ftconfig.h:235
struct AF_LoaderRec_ * AF_Loader
signed int FT_Int32
Definition: ftconfig.h:132
AF_ScriptMetrics metrics
Definition: afloader.h:47
af_loader_init(AF_Module module)
Definition: afloader.c:29
AF_FaceGlobals globals
Definition: afloader.h:42
unsigned int FT_UInt
Definition: fttypes.h:227
af_loader_done(AF_Module module)
Definition: afloader.c:79
FT_Vector trans_delta
Definition: afloader.h:50
FT_Matrix trans_matrix
Definition: afloader.h:49
af_loader_load_glyph(AF_Module module, FT_Face face, FT_UInt gindex, FT_Int32 load_flags)
Definition: afloader.c:493
FT_Bool transformed
Definition: afloader.h:48
AF_GlyphHintsRec hints
Definition: afloader.h:46
FT_Face face
Definition: afloader.h:41
FT_GlyphLoader gloader
Definition: afloader.h:45