OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftincrem.h */ | 3 /* ftincrem.h */ |
4 /* */ | 4 /* */ |
5 /* FreeType incremental loading (specification). */ | 5 /* FreeType incremental loading (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2002, 2003, 2006, 2007, 2008, 2010 by */ | 7 /* Copyright 2002, 2003, 2006-2008, 2010, 2014 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 |
18 | 18 |
19 #ifndef __FTINCREM_H__ | 19 #ifndef __FTINCREM_H__ |
20 #define __FTINCREM_H__ | 20 #define __FTINCREM_H__ |
21 | 21 |
22 #include "../ft2build.h" | 22 #include <ft2build.h> |
23 #include "freetype.h" | 23 #include FT_FREETYPE_H |
24 | 24 |
25 #ifdef FREETYPE_H | 25 #ifdef FREETYPE_H |
26 #error "freetype.h of FreeType 1 has been loaded!" | 26 #error "freetype.h of FreeType 1 has been loaded!" |
27 #error "Please fix the directory search order for header files" | 27 #error "Please fix the directory search order for header files" |
28 #error "so that freetype.h of FreeType 2 is found first." | 28 #error "so that freetype.h of FreeType 2 is found first." |
29 #endif | 29 #endif |
30 | 30 |
31 | 31 |
32 FT_BEGIN_HEADER | 32 FT_BEGIN_HEADER |
33 | 33 |
34 /*************************************************************************** | 34 /*************************************************************************** |
35 * | 35 * |
36 * @section: | 36 * @section: |
37 * incremental | 37 * incremental |
38 * | 38 * |
39 * @title: | 39 * @title: |
40 * Incremental Loading | 40 * Incremental Loading |
41 * | 41 * |
42 * @abstract: | 42 * @abstract: |
43 * Custom Glyph Loading. | 43 * Custom Glyph Loading. |
44 * | 44 * |
45 * @description: | 45 * @description: |
46 * This section contains various functions used to perform so-called | 46 * This section contains various functions used to perform so-called |
47 * `incremental' glyph loading. This is a mode where all glyphs loaded | 47 * `incremental' glyph loading. This is a mode where all glyphs loaded |
48 * from a given @FT_Face are provided by the client application, | 48 * from a given @FT_Face are provided by the client application. |
49 * | 49 * |
50 * Apart from that, all other tables are loaded normally from the font | 50 * Apart from that, all other tables are loaded normally from the font |
51 * file. This mode is useful when FreeType is used within another | 51 * file. This mode is useful when FreeType is used within another |
52 * engine, e.g., a PostScript Imaging Processor. | 52 * engine, e.g., a PostScript Imaging Processor. |
53 * | 53 * |
54 * To enable this mode, you must use @FT_Open_Face, passing an | 54 * To enable this mode, you must use @FT_Open_Face, passing an |
55 * @FT_Parameter with the @FT_PARAM_TAG_INCREMENTAL tag and an | 55 * @FT_Parameter with the @FT_PARAM_TAG_INCREMENTAL tag and an |
56 * @FT_Incremental_Interface value. See the comments for | 56 * @FT_Incremental_Interface value. See the comments for |
57 * @FT_Incremental_InterfaceRec for an example. | 57 * @FT_Incremental_InterfaceRec for an example. |
58 * | 58 * |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 * | 338 * |
339 * @description: | 339 * @description: |
340 * A constant used as the tag of @FT_Parameter structures to indicate | 340 * A constant used as the tag of @FT_Parameter structures to indicate |
341 * an incremental loading object to be used by FreeType. | 341 * an incremental loading object to be used by FreeType. |
342 * | 342 * |
343 */ | 343 */ |
344 #define FT_PARAM_TAG_INCREMENTAL FT_MAKE_TAG( 'i', 'n', 'c', 'r' ) | 344 #define FT_PARAM_TAG_INCREMENTAL FT_MAKE_TAG( 'i', 'n', 'c', 'r' ) |
345 | 345 |
346 /* */ | 346 /* */ |
347 | 347 |
| 348 |
348 FT_END_HEADER | 349 FT_END_HEADER |
349 | 350 |
350 #endif /* __FTINCREM_H__ */ | 351 #endif /* __FTINCREM_H__ */ |
351 | 352 |
352 | 353 |
353 /* END */ | 354 /* END */ |
OLD | NEW |