gnomeglue.h 986 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. *
  3. * © 2016 and later: Unicode, Inc. and others.
  4. * License & terms of use: http://www.unicode.org/copyright.html#License
  5. *
  6. * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
  7. *
  8. */
  9. #ifndef __GNOMEGLUE_H
  10. #define __GNOMEGLUE_H
  11. #include <gnome.h>
  12. #include <ft2build.h>
  13. #include FT_FREETYPE_H
  14. #include "unicode/utypes.h"
  15. #include "LETypes.h"
  16. #include "loengine.h"
  17. #include "gsupport.h"
  18. #include "rsurface.h"
  19. typedef void fm_fontMap;
  20. U_CDECL_BEGIN
  21. gs_guiSupport *gs_gnomeGuiSupportOpen();
  22. void gs_gnomeGuiSupportClose(gs_guiSupport *guiSupport);
  23. rs_surface *rs_gnomeRenderingSurfaceOpen(GtkWidget *theWidget);
  24. void rs_gnomeRenderingSurfaceClose(rs_surface *surface);
  25. fm_fontMap *fm_gnomeFontMapOpen(FT_Library engine, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
  26. void fm_fontMapClose(fm_fontMap *fontMap);
  27. le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap);
  28. void le_fontClose(le_font *font);
  29. U_CDECL_END
  30. #endif