]>
git.saurik.com Git - apple/icu.git/blob - icuSources/samples/layout/rsurface.cpp
a64ba9adb9648dd512ba108c4b82811db68e9cbc
3 * © 2016 and later: Unicode, Inc. and others.
4 * License & terms of use: http://www.unicode.org/copyright.html#License
6 * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
14 #include "LEFontInstance.h"
15 #include "RenderingSurface.h"
19 void 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
)
22 RenderingSurface
*rs
= (RenderingSurface
*) surface
;
24 rs
->drawGlyphs((const LEFontInstance
*) font
, glyphs
, count
, positions
, x
, y
, width
, height
);