zenilib: zenilib/jni/external/freetype2/src/autofit/afloader.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
26 FT_BEGIN_HEADER
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 */
33 AF_GlyphHintsRec hints;
34 AF_ScriptMetrics metrics;
35 FT_Bool transformed;
36 FT_Matrix trans_matrix;
37 FT_Vector trans_delta;
38 FT_Vector pp1;
39 FT_Vector pp2;
40 /* we don't handle vertical phantom points */
41
42 } AF_LoaderRec, *AF_Loader;
43
44
45 FT_LOCAL( FT_Error )
46 af_loader_init( AF_Loader loader,
47 FT_Memory memory );
48
49
50 FT_LOCAL( FT_Error )
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
59 FT_LOCAL( FT_Error )
60 af_loader_load_glyph( AF_Loader loader,
61 FT_Face face,
62 FT_UInt gindex,
63 FT_Int32 load_flags );
64
65 /* */
66
67
68 FT_END_HEADER
69
70 #endif /* __AFLOADER_H__ */
71
72
73 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
AF_LoaderRec
FT_BEGIN_HEADER struct AF_LoaderRec_ AF_LoaderRec
AF_LoaderRec_::pp2
FT_Vector pp2
Definition: afloader.h:39
af_loader_load_glyph
af_loader_load_glyph(AF_Loader loader, FT_Face face, FT_UInt gindex, FT_Int32 load_flags)
Definition: afloader.c:487
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
afglobal.h
AF_LoaderRec_::pp1
FT_Vector pp1
Definition: afloader.h:38
FT_Matrix_
Definition: fttypes.h:381
AF_Loader
FT_BEGIN_HEADER struct AF_LoaderRec_ * AF_Loader
AF_LoaderRec_
Definition: afloader.h:28
afhints.h
FT_Bool
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
FT_GlyphLoader
typedefFT_BEGIN_HEADER struct FT_GlyphLoaderRec_ * FT_GlyphLoader
Definition: ftgloadr.h:43
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
AF_ScriptMetricsRec_
Definition: aftypes.h:249
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
AF_FaceGlobals
typedefFT_BEGIN_HEADER struct AF_FaceGlobalsRec_ * AF_FaceGlobals
Definition: afglobal.h:43
FT_FaceRec_
Definition: freetype.h:912
face
GLenum face
Definition: gl2ext.h:1490
AF_GlyphHintsRec_
Definition: afhints.h:331
af_loader_init
af_loader_init(AF_Loader loader, FT_Memory memory)
Definition: afloader.c:28
FT_Vector_
Definition: ftimage.h:75
AF_LoaderRec_::metrics
AF_ScriptMetrics metrics
Definition: afloader.h:34
FT_Memory
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:66
AF_LoaderRec_::globals
AF_FaceGlobals globals
Definition: afloader.h:31
af_loader_reset
af_loader_reset(AF_Loader loader, FT_Face face)
Definition: afloader.c:44
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227
AF_LoaderRec_::trans_delta
FT_Vector trans_delta
Definition: afloader.h:37
af_loader_done
af_loader_done(AF_Loader loader)
Definition: afloader.c:74
AF_LoaderRec_::trans_matrix
FT_Matrix trans_matrix
Definition: afloader.h:36
AF_LoaderRec_::transformed
FT_Bool transformed
Definition: afloader.h:35
AF_LoaderRec_::hints
AF_GlyphHintsRec hints
Definition: afloader.h:33
AF_LoaderRec_::face
FT_Face face
Definition: afloader.h:30
AF_LoaderRec_::gloader
FT_GlyphLoader gloader
Definition: afloader.h:32