]> git.saurik.com Git - wxWidgets.git/blob - src/freetype/truetype/ttgload.h
forgot to commit - no changes
[wxWidgets.git] / src / freetype / truetype / ttgload.h
1 /***************************************************************************/
2 /* */
3 /* ttgload.h */
4 /* */
5 /* TrueType Glyph Loader (specification). */
6 /* */
7 /* Copyright 1996-2000 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 TTGLOAD_H
20 #define TTGLOAD_H
21
22
23 #ifdef FT_FLAT_COMPILE
24
25 #include "ttobjs.h"
26
27 #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
28 #include "ttinterp.h"
29 #endif
30
31 #else /* FT_FLAT_COMPILE */
32
33 #include <truetype/ttobjs.h>
34
35 #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
36 #include <truetype/ttinterp.h>
37 #endif
38
39 #endif /* FT_FLAT_COMPILE */
40
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45
46
47 LOCAL_DEF
48 void TT_Get_Metrics( TT_HoriHeader* header,
49 FT_UInt index,
50 FT_Short* bearing,
51 FT_UShort* advance );
52
53 LOCAL_DEF
54 void TT_Init_Glyph_Loading( TT_Face face );
55
56 LOCAL_DEF
57 FT_Error TT_Load_Glyph( TT_Size size,
58 TT_GlyphSlot glyph,
59 FT_UShort glyph_index,
60 FT_UInt load_flags );
61
62 #ifdef __cplusplus
63 }
64 #endif
65
66 #endif /* TTGLOAD_H */
67
68
69 /* END */