]> git.saurik.com Git - apple/icu.git/blame - icuSources/samples/layout/GDIFontMap.h
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / samples / layout / GDIFontMap.h
CommitLineData
b75a7d8f
A
1/*
2 ******************************************************************************
3 * Copyright (C) 1998-2003, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 ******************************************************************************
6 */
7
8#ifndef __GDIFONTMAP_H
9#define __GDIFONTMAP_H
10
11#include <windows.h>
12
13#include "unicode/uscript.h"
14
15#include "layout/LETypes.h"
16#include "layout/LEFontInstance.h"
17
18#include "FontMap.h"
19#include "GUISupport.h"
20#include "GDIFontInstance.h"
21
22#define BUFFER_SIZE 128
23
24class GDIFontMap : public FontMap
25{
26public:
27 GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
28
29 virtual ~GDIFontMap();
30
31protected:
32 virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status);
33
34private:
35 GDISurface *fSurface;
36};
37
38#endif