zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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_LoaderRec_
29  {
30  FT_Face face; /* current face */
31  AF_FaceGlobals globals; /* current face globals */
32  FT_GlyphLoader gloader; /* glyph loader */
40  /* we don't handle vertical phantom points */
41 
43 
44 
46  af_loader_init( AF_Loader loader,
47  FT_Memory memory );
48 
49 
51  af_loader_reset( AF_Loader loader,
52  FT_Face face );
53 
54 
55  FT_LOCAL( void )
56  af_loader_done( AF_Loader loader );
57 
58 
61  FT_Face face,
62  FT_UInt gindex,
63  FT_Int32 load_flags );
64 
65 /* */
66 
67 
69 
70 #endif /* __AFLOADER_H__ */
71 
72 
73 /* END */
int FT_Error
Definition: fttypes.h:296
FT_BEGIN_HEADER struct AF_LoaderRec_ AF_LoaderRec
FT_Vector pp2
Definition: afloader.h:39
af_loader_load_glyph(AF_Loader loader, FT_Face face, FT_UInt gindex, FT_Int32 load_flags)
Definition: afloader.c:487
#define FT_END_HEADER
Definition: ftheader.h:54
FT_Vector pp1
Definition: afloader.h:38
FT_BEGIN_HEADER struct AF_LoaderRec_ * AF_Loader
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
typedefFT_BEGIN_HEADER struct FT_GlyphLoaderRec_ * FT_GlyphLoader
Definition: ftgloadr.h:43
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_LOCAL(x)
Definition: ftconfig.h:466
typedefFT_BEGIN_HEADER struct AF_FaceGlobalsRec_ * AF_FaceGlobals
Definition: afglobal.h:43
GLenum face
Definition: gl2ext.h:1490
af_loader_init(AF_Loader loader, FT_Memory memory)
Definition: afloader.c:28
AF_ScriptMetrics metrics
Definition: afloader.h:34
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:66
AF_FaceGlobals globals
Definition: afloader.h:31
af_loader_reset(AF_Loader loader, FT_Face face)
Definition: afloader.c:44
unsigned int FT_UInt
Definition: fttypes.h:227
FT_Vector trans_delta
Definition: afloader.h:37
af_loader_done(AF_Loader loader)
Definition: afloader.c:74
FT_Matrix trans_matrix
Definition: afloader.h:36
FT_Bool transformed
Definition: afloader.h:35
AF_GlyphHintsRec hints
Definition: afloader.h:33
FT_Face face
Definition: afloader.h:30
FT_GlyphLoader gloader
Definition: afloader.h:32