mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / thirdparty / freetype-2.3.12 / src / autofit / afloader.h
blobfa67c10ffece82fe4cdc6d4d687f53665c28506f
1 /***************************************************************************/
2 /* */
3 /* afloader.h */
4 /* */
5 /* Auto-fitter glyph loading routines (specification). */
6 /* */
7 /* Copyright 2003, 2004, 2005 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 /***************************************************************************/
19 #ifndef __AF_LOADER_H__
20 #define __AF_LOADER_H__
22 #include "afhints.h"
23 #include "afglobal.h"
26 FT_BEGIN_HEADER
28 typedef struct AF_LoaderRec_
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 */
42 } AF_LoaderRec, *AF_Loader;
45 FT_LOCAL( FT_Error )
46 af_loader_init( AF_Loader loader,
47 FT_Memory memory );
50 FT_LOCAL( FT_Error )
51 af_loader_reset( AF_Loader loader,
52 FT_Face face );
55 FT_LOCAL( void )
56 af_loader_done( AF_Loader loader );
59 FT_LOCAL( FT_Error )
60 af_loader_load_glyph( AF_Loader loader,
61 FT_Face face,
62 FT_UInt gindex,
63 FT_UInt32 load_flags );
65 /* */
68 FT_END_HEADER
70 #endif /* __AF_LOADER_H__ */
73 /* END */