]> git.saurik.com Git - apple/icu.git/blob - icuSources/samples/layout/RenderingSurface.h
ICU-62109.0.1.tar.gz
[apple/icu.git] / icuSources / samples / layout / RenderingSurface.h
1 /*
2 *******************************************************************************
3 *
4 * © 2016 and later: Unicode, Inc. and others.
5 * License & terms of use: http://www.unicode.org/copyright.html#License
6 *
7 *******************************************************************************
8 *******************************************************************************
9 *
10 * Copyright (C) 1999-2003, International Business Machines
11 * Corporation and others. All Rights Reserved.
12 *
13 *******************************************************************************
14 * file name: RenderingFontInstance.h
15 *
16 * created on: 02/20/2003
17 * created by: Eric R. Mader
18 */
19
20 #ifndef __RENDERINGSURFACE_H
21 #define __RENDERINGSURFACE_H
22
23 #include "layout/LETypes.h"
24 #include "layout/LEFontInstance.h"
25
26 class RenderingSurface
27 {
28 public:
29 RenderingSurface() {};
30 virtual ~RenderingSurface() {};
31
32 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
33 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
34 };
35
36 #endif