]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/samples/layout/rsurface.cpp
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / samples / layout / rsurface.cpp
... / ...
CommitLineData
1/*
2 *
3 * © 2016 and later: Unicode, Inc. and others.
4 * License & terms of use: http://www.unicode.org/copyright.html#License
5 *
6 * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
7 *
8 */
9
10#include "loengine.h"
11#include "rsurface.h"
12
13#include "LETypes.h"
14#include "LEFontInstance.h"
15#include "RenderingSurface.h"
16
17U_CDECL_BEGIN
18
19void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
20 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height)
21{
22 RenderingSurface *rs = (RenderingSurface *) surface;
23
24 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
25}
26
27U_CDECL_END