OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ttsbit.h */ | 3 /* ttsbit.h */ |
4 /* */ | 4 /* */ |
5 /* TrueType and OpenType embedded bitmap support (specification). */ | 5 /* TrueType and OpenType embedded bitmap support (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by */ | 7 /* Copyright 1996-2008, 2013 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 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 */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
(...skipping 20 matching lines...) Expand all Loading... |
38 FT_LOCAL( FT_Error ) | 38 FT_LOCAL( FT_Error ) |
39 tt_face_set_sbit_strike( TT_Face face, | 39 tt_face_set_sbit_strike( TT_Face face, |
40 FT_Size_Request req, | 40 FT_Size_Request req, |
41 FT_ULong* astrike_index ); | 41 FT_ULong* astrike_index ); |
42 | 42 |
43 FT_LOCAL( FT_Error ) | 43 FT_LOCAL( FT_Error ) |
44 tt_face_load_strike_metrics( TT_Face face, | 44 tt_face_load_strike_metrics( TT_Face face, |
45 FT_ULong strike_index, | 45 FT_ULong strike_index, |
46 FT_Size_Metrics* metrics ); | 46 FT_Size_Metrics* metrics ); |
47 | 47 |
48 #ifdef FT_CONFIG_OPTION_OLD_INTERNALS | |
49 FT_LOCAL( FT_Error ) | |
50 tt_find_sbit_image( TT_Face face, | |
51 FT_UInt glyph_index, | |
52 FT_ULong strike_index, | |
53 TT_SBit_Range *arange, | |
54 TT_SBit_Strike *astrike, | |
55 FT_ULong *aglyph_offset ); | |
56 | |
57 FT_LOCAL( FT_Error ) | |
58 tt_load_sbit_metrics( FT_Stream stream, | |
59 TT_SBit_Range range, | |
60 TT_SBit_Metrics metrics ); | |
61 | |
62 #endif /* FT_CONFIG_OPTION_OLD_INTERNALS */ | |
63 | |
64 FT_LOCAL( FT_Error ) | 48 FT_LOCAL( FT_Error ) |
65 tt_face_load_sbit_image( TT_Face face, | 49 tt_face_load_sbit_image( TT_Face face, |
66 FT_ULong strike_index, | 50 FT_ULong strike_index, |
67 FT_UInt glyph_index, | 51 FT_UInt glyph_index, |
68 FT_UInt load_flags, | 52 FT_UInt load_flags, |
69 FT_Stream stream, | 53 FT_Stream stream, |
70 FT_Bitmap *map, | 54 FT_Bitmap *map, |
71 TT_SBit_MetricsRec *metrics ); | 55 TT_SBit_MetricsRec *metrics ); |
72 | 56 |
73 | 57 |
74 FT_END_HEADER | 58 FT_END_HEADER |
75 | 59 |
76 #endif /* __TTSBIT_H__ */ | 60 #endif /* __TTSBIT_H__ */ |
77 | 61 |
78 | 62 |
79 /* END */ | 63 /* END */ |
OLD | NEW |