]> git.saurik.com Git - apple/icu.git/blame - icuSources/samples/layout/gnomeglue.h
ICU-64252.0.1.tar.gz
[apple/icu.git] / icuSources / samples / layout / gnomeglue.h
CommitLineData
46f4442e 1/*
f3c0d7a5
A
2 *
3 * © 2016 and later: Unicode, Inc. and others.
4 * License & terms of use: http://www.unicode.org/copyright.html#License
46f4442e
A
5 *
6 * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
7 *
8 */
9
10#ifndef __GNOMEGLUE_H
11#define __GNOMEGLUE_H
12
13#include <gnome.h>
14#include <ft2build.h>
15#include FT_FREETYPE_H
16
17#include "unicode/utypes.h"
18
19#include "LETypes.h"
20#include "loengine.h"
21#include "gsupport.h"
22#include "rsurface.h"
23
24typedef void fm_fontMap;
25
26U_CDECL_BEGIN
27
28gs_guiSupport *gs_gnomeGuiSupportOpen();
29void gs_gnomeGuiSupportClose(gs_guiSupport *guiSupport);
30
31rs_surface *rs_gnomeRenderingSurfaceOpen(GtkWidget *theWidget);
32void rs_gnomeRenderingSurfaceClose(rs_surface *surface);
33
34fm_fontMap *fm_gnomeFontMapOpen(FT_Library engine, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
35void fm_fontMapClose(fm_fontMap *fontMap);
36
37le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap);
38void le_fontClose(le_font *font);
39
40U_CDECL_END
41
42#endif