| 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, 2012 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 "../../include/ft2build.h" | 23 #include <ft2build.h> |
| 24 #include "../../include/freetype/internal/psaux.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_Long ) | 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_Long base ); | 32 FT_Long base ); |
| 33 | 33 |
| 34 | 34 |
| 35 FT_LOCAL( FT_Long ) | 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 FT_LOCAL( FT_Bool ) | |
| 39 xyq_PS_Conv_ToInt( FT_Byte** cursor, | |
| 40 FT_Byte* limit, FT_Long* val ); /* XYQ 2007-10-10: we add return
value indicating whether it's actually a number */ | |
| 41 | 38 |
| 42 FT_LOCAL( FT_Fixed ) | 39 FT_LOCAL( FT_Fixed ) |
| 43 PS_Conv_ToFixed( FT_Byte** cursor, | 40 PS_Conv_ToFixed( FT_Byte** cursor, |
| 44 FT_Byte* limit, | 41 FT_Byte* limit, |
| 45 FT_Long power_ten ); | 42 FT_Long power_ten ); |
| 46 | 43 |
| 47 #if 0 | 44 #if 0 |
| 48 FT_LOCAL( FT_UInt ) | 45 FT_LOCAL( FT_UInt ) |
| 49 PS_Conv_StringDecode( FT_Byte** cursor, | 46 PS_Conv_StringDecode( FT_Byte** cursor, |
| 50 FT_Byte* limit, | 47 FT_Byte* limit, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 65 FT_Offset n, | 62 FT_Offset n, |
| 66 FT_UShort* seed ); | 63 FT_UShort* seed ); |
| 67 | 64 |
| 68 | 65 |
| 69 FT_END_HEADER | 66 FT_END_HEADER |
| 70 | 67 |
| 71 #endif /* __PSCONV_H__ */ | 68 #endif /* __PSCONV_H__ */ |
| 72 | 69 |
| 73 | 70 |
| 74 /* END */ | 71 /* END */ |
| OLD | NEW |