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