| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* psconv.h */ | 3 /* psconv.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Some convenience conversions (specification). */ | 5 /* Some convenience conversions (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 2006 by */ | 7 /* Copyright 2006, 2012 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 __PSCONV_H__ | 19 #ifndef __PSCONV_H__ |
| 20 #define __PSCONV_H__ | 20 #define __PSCONV_H__ |
| 21 | 21 |
| 22 | 22 |
| 23 #include <ft2build.h> | 23 #include <ft2build.h> |
| 24 #include FT_INTERNAL_POSTSCRIPT_AUX_H | 24 #include FT_INTERNAL_POSTSCRIPT_AUX_H |
| 25 | 25 |
| 26 FT_BEGIN_HEADER | 26 FT_BEGIN_HEADER |
| 27 | 27 |
| 28 | 28 |
| 29 FT_LOCAL( FT_Int ) | 29 FT_LOCAL( FT_Long ) |
| 30 PS_Conv_Strtol( FT_Byte** cursor, | 30 PS_Conv_Strtol( FT_Byte** cursor, |
| 31 FT_Byte* limit, | 31 FT_Byte* limit, |
| 32 FT_Int base ); | 32 FT_Long base ); |
| 33 | 33 |
| 34 | 34 |
| 35 FT_LOCAL( FT_Int ) | 35 FT_LOCAL( FT_Long ) |
| 36 PS_Conv_ToInt( FT_Byte** cursor, | 36 PS_Conv_ToInt( FT_Byte** cursor, |
| 37 FT_Byte* limit ); | 37 FT_Byte* limit ); |
| 38 | 38 |
| 39 FT_LOCAL( FT_Fixed ) | 39 FT_LOCAL( FT_Fixed ) |
| 40 PS_Conv_ToFixed( FT_Byte** cursor, | 40 PS_Conv_ToFixed( FT_Byte** cursor, |
| 41 FT_Byte* limit, | 41 FT_Byte* limit, |
| 42 FT_Int power_ten ); | 42 FT_Long power_ten ); |
| 43 | 43 |
| 44 #if 0 | 44 #if 0 |
| 45 FT_LOCAL( FT_UInt ) | 45 FT_LOCAL( FT_UInt ) |
| 46 PS_Conv_StringDecode( FT_Byte** cursor, | 46 PS_Conv_StringDecode( FT_Byte** cursor, |
| 47 FT_Byte* limit, | 47 FT_Byte* limit, |
| 48 FT_Byte* buffer, | 48 FT_Byte* buffer, |
| 49 FT_Offset n ); | 49 FT_Offset n ); |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 FT_LOCAL( FT_UInt ) | 52 FT_LOCAL( FT_UInt ) |
| 53 PS_Conv_ASCIIHexDecode( FT_Byte** cursor, | 53 PS_Conv_ASCIIHexDecode( FT_Byte** cursor, |
| 54 FT_Byte* limit, | 54 FT_Byte* limit, |
| 55 FT_Byte* buffer, | 55 FT_Byte* buffer, |
| 56 FT_Offset n ); | 56 FT_Offset n ); |
| 57 | 57 |
| 58 FT_LOCAL( FT_UInt ) | 58 FT_LOCAL( FT_UInt ) |
| 59 PS_Conv_EexecDecode( FT_Byte** cursor, | 59 PS_Conv_EexecDecode( FT_Byte** cursor, |
| 60 FT_Byte* limit, | 60 FT_Byte* limit, |
| 61 FT_Byte* buffer, | 61 FT_Byte* buffer, |
| 62 FT_Offset n, | 62 FT_Offset n, |
| 63 FT_UShort* seed ); | 63 FT_UShort* seed ); |
| 64 | 64 |
| 65 | 65 |
| 66 FT_END_HEADER | 66 FT_END_HEADER |
| 67 | 67 |
| 68 #endif /* __PSCONV_H__ */ | 68 #endif /* __PSCONV_H__ */ |
| 69 | 69 |
| 70 | 70 |
| 71 /* END */ | 71 /* END */ |
| OLD | NEW |