diff options
Diffstat (limited to 'Build/source/libs/icu/icu-4.8.1/samples/layout/GDIFontMap.h')
-rw-r--r-- | Build/source/libs/icu/icu-4.8.1/samples/layout/GDIFontMap.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.8.1/samples/layout/GDIFontMap.h b/Build/source/libs/icu/icu-4.8.1/samples/layout/GDIFontMap.h new file mode 100644 index 00000000000..e92f47f0c0c --- /dev/null +++ b/Build/source/libs/icu/icu-4.8.1/samples/layout/GDIFontMap.h @@ -0,0 +1,38 @@ +/* + ****************************************************************************** + * Copyright (C) 1998-2003, International Business Machines Corporation and * + * others. All Rights Reserved. * + ****************************************************************************** + */ + +#ifndef __GDIFONTMAP_H +#define __GDIFONTMAP_H + +#include <windows.h> + +#include "unicode/uscript.h" + +#include "layout/LETypes.h" +#include "layout/LEFontInstance.h" + +#include "FontMap.h" +#include "GUISupport.h" +#include "GDIFontInstance.h" + +#define BUFFER_SIZE 128 + +class GDIFontMap : public FontMap +{ +public: + GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status); + + virtual ~GDIFontMap(); + +protected: + virtual const LEFontInstance *openFont(const char *fontName, le_int16 pointSize, LEErrorCode &status); + +private: + GDISurface *fSurface; +}; + +#endif |