/src/freetype/src/truetype/ttgload.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 61 lines · 27 code · 17 blank · 17 comment · 0 complexity · c3ce193625b53ca46f219ea352d6ef38 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* ttgload.h */
  4. /* */
  5. /* TrueType Glyph Loader (specification). */
  6. /* */
  7. /* Copyright 1996-2006, 2008, 2011 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 __TTGLOAD_H__
  18. #define __TTGLOAD_H__
  19. #include <ft2build.h>
  20. #include "ttobjs.h"
  21. #ifdef TT_USE_BYTECODE_INTERPRETER
  22. #include "ttinterp.h"
  23. #endif
  24. FT_BEGIN_HEADER
  25. FT_LOCAL( void )
  26. TT_Init_Glyph_Loading( TT_Face face );
  27. FT_LOCAL( void )
  28. TT_Get_HMetrics( TT_Face face,
  29. FT_UInt idx,
  30. FT_Short* lsb,
  31. FT_UShort* aw );
  32. FT_LOCAL( void )
  33. TT_Get_VMetrics( TT_Face face,
  34. FT_UInt idx,
  35. FT_Short* tsb,
  36. FT_UShort* ah );
  37. FT_LOCAL( FT_Error )
  38. TT_Load_Glyph( TT_Size size,
  39. TT_GlyphSlot glyph,
  40. FT_UInt glyph_index,
  41. FT_Int32 load_flags );
  42. FT_END_HEADER
  43. #endif /* __TTGLOAD_H__ */
  44. /* END */