Home | History | Annotate | Download | only in layout
      1 /*
      2  *
      3  * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
      4  *
      5  */
      6 
      7 #ifndef __GDIGLUE_H
      8 #define __GDIGLUE_H
      9 
     10 #include <windows.h>
     11 
     12 #include "unicode/utypes.h"
     13 
     14 #include "LETypes.h"
     15 #include "loengine.h"
     16 #include "gsupport.h"
     17 #include "rsurface.h"
     18 
     19 typedef void fm_fontMap;
     20 
     21 U_CDECL_BEGIN
     22 
     23 gs_guiSupport *gs_gdiGuiSupportOpen();
     24 void gs_gdiGuiSupportClose(gs_guiSupport *guiSupport);
     25 
     26 rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc);
     27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
     28 void rs_gdiRenderingSurfaceClose(rs_surface *surface);
     29 
     30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
     31 void fm_fontMapClose(fm_fontMap *fontMap);
     32 
     33 le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap);
     34 void le_fontClose(le_font *font);
     35 
     36 U_CDECL_END
     37 
     38 #endif
     39