/src/compiler/android-ndk/jni/freetype/src/psaux/psconv.h

http://ftk.googlecode.com/ · C++ Header · 71 lines · 36 code · 18 blank · 17 comment · 0 complexity · b55a53057817e03f588dae18a5f8e2d1 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* psconv.h */
  4. /* */
  5. /* Some convenience conversions (specification). */
  6. /* */
  7. /* Copyright 2006 by */
  8. /* David Turner, Robert Wilhelm, and Werner Lemberg. */
  9. /* */
  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 */
  12. /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
  13. /* this file you indicate that you have read the license and */
  14. /* understand and accept it fully. */
  15. /* */
  16. /***************************************************************************/
  17. #ifndef __PSCONV_H__
  18. #define __PSCONV_H__
  19. #include <ft2build.h>
  20. #include FT_INTERNAL_POSTSCRIPT_AUX_H
  21. FT_BEGIN_HEADER
  22. FT_LOCAL( FT_Int )
  23. PS_Conv_Strtol( FT_Byte** cursor,
  24. FT_Byte* limit,
  25. FT_Int base );
  26. FT_LOCAL( FT_Int )
  27. PS_Conv_ToInt( FT_Byte** cursor,
  28. FT_Byte* limit );
  29. FT_LOCAL( FT_Fixed )
  30. PS_Conv_ToFixed( FT_Byte** cursor,
  31. FT_Byte* limit,
  32. FT_Int power_ten );
  33. #if 0
  34. FT_LOCAL( FT_UInt )
  35. PS_Conv_StringDecode( FT_Byte** cursor,
  36. FT_Byte* limit,
  37. FT_Byte* buffer,
  38. FT_Offset n );
  39. #endif
  40. FT_LOCAL( FT_UInt )
  41. PS_Conv_ASCIIHexDecode( FT_Byte** cursor,
  42. FT_Byte* limit,
  43. FT_Byte* buffer,
  44. FT_Offset n );
  45. FT_LOCAL( FT_UInt )
  46. PS_Conv_EexecDecode( FT_Byte** cursor,
  47. FT_Byte* limit,
  48. FT_Byte* buffer,
  49. FT_Offset n,
  50. FT_UShort* seed );
  51. FT_END_HEADER
  52. #endif /* __PSCONV_H__ */
  53. /* END */