Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / icu / source / samples / layout / RenderingSurface.h
1 /*
2  *******************************************************************************
3  *
4  *   Copyright (C) 1999-2003, International Business Machines
5  *   Corporation and others.  All Rights Reserved.
6  *
7  *******************************************************************************
8  *   file name:  RenderingFontInstance.h
9  *
10  *   created on: 02/20/2003
11  *   created by: Eric R. Mader
12  */
13
14 #ifndef __RENDERINGSURFACE_H
15 #define __RENDERINGSURFACE_H
16
17 #include "layout/LETypes.h"
18 #include "layout/LEFontInstance.h"
19
20 class RenderingSurface
21 {
22 public:
23     RenderingSurface() {};
24     virtual ~RenderingSurface() {};
25
26     virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
27                     const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) = 0;
28 };
29
30 #endif