gdiglue.h 983 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 __GDIGLUE_H
  10. #define __GDIGLUE_H
  11. #include <windows.h>
  12. #include "unicode/utypes.h"
  13. #include "LETypes.h"
  14. #include "loengine.h"
  15. #include "gsupport.h"
  16. #include "rsurface.h"
  17. typedef void fm_fontMap;
  18. U_CDECL_BEGIN
  19. gs_guiSupport *gs_gdiGuiSupportOpen();
  20. void gs_gdiGuiSupportClose(gs_guiSupport *guiSupport);
  21. rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc);
  22. void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
  23. void rs_gdiRenderingSurfaceClose(rs_surface *surface);
  24. fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
  25. void fm_fontMapClose(fm_fontMap *fontMap);
  26. le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap);
  27. void le_fontClose(le_font *font);
  28. U_CDECL_END
  29. #endif