OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftlzw.h */ | 3 /* ftlzw.h */ |
4 /* */ | 4 /* */ |
5 /* LZW-compressed stream support. */ | 5 /* LZW-compressed stream support. */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2004, 2006 by */ | 7 /* Copyright 2004, 2006 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 __FTLZW_H__ | 19 #ifndef __FTLZW_H__ |
20 #define __FTLZW_H__ | 20 #define __FTLZW_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 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 * compressed file, the library will try to open a LZW stream from it | 81 * compressed file, the library will try to open a LZW stream from it |
82 * and re-open the face with it. | 82 * and re-open the face with it. |
83 * | 83 * |
84 * This function may return `FT_Err_Unimplemented_Feature' if your build | 84 * This function may return `FT_Err_Unimplemented_Feature' if your build |
85 * of FreeType was not compiled with LZW support. | 85 * of FreeType was not compiled with LZW support. |
86 */ | 86 */ |
87 FT_EXPORT( FT_Error ) | 87 FT_EXPORT( FT_Error ) |
88 FT_Stream_OpenLZW( FT_Stream stream, | 88 FT_Stream_OpenLZW( FT_Stream stream, |
89 FT_Stream source ); | 89 FT_Stream source ); |
90 | 90 |
91 /* */ | 91 /* */ |
92 | 92 |
93 | 93 |
94 FT_END_HEADER | 94 FT_END_HEADER |
95 | 95 |
96 #endif /* __FTLZW_H__ */ | 96 #endif /* __FTLZW_H__ */ |
97 | 97 |
98 | 98 |
99 /* END */ | 99 /* END */ |
OLD | NEW |