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