]>
git.saurik.com Git - apple/icu.git/blob - icuSources/samples/layout/RenderingSurface.h
2 *******************************************************************************
4 * © 2016 and later: Unicode, Inc. and others.
5 * License & terms of use: http://www.unicode.org/copyright.html#License
7 *******************************************************************************
8 *******************************************************************************
10 * Copyright (C) 1999-2003, International Business Machines
11 * Corporation and others. All Rights Reserved.
13 *******************************************************************************
14 * file name: RenderingFontInstance.h
16 * created on: 02/20/2003
17 * created by: Eric R. Mader
20 #ifndef __RENDERINGSURFACE_H
21 #define __RENDERINGSURFACE_H
23 #include "layout/LETypes.h"
24 #include "layout/LEFontInstance.h"
26 class RenderingSurface
29 RenderingSurface() {};
30 virtual ~RenderingSurface() {};
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;