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
19typedef void fm_fontMap;
20
21U_CDECL_BEGIN
22
23gs_guiSupport *gs_gdiGuiSupportOpen();
24void gs_gdiGuiSupportClose(gs_guiSupport *guiSupport);
25
26rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc);
27void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
28void rs_gdiRenderingSurfaceClose(rs_surface *surface);
29
30fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
31void fm_fontMapClose(fm_fontMap *fontMap);
32
33le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap);
34void le_fontClose(le_font *font);
35
36U_CDECL_END
37
38#endif
39