bolt/bootstrap/cxx/deps/icu/source/samples/layout/rsurface.cpp
Sam Vervaeck 285f33e93c Add 'bootstrap/cxx/' from commit '7c1a929e9a3d3abb1e2113f531588e059ad5be8c'
git-subtree-dir: bootstrap/cxx
git-subtree-mainline: b732e418cb
git-subtree-split: 7c1a929e9a
2024-01-15 14:04:51 +01:00

27 lines
704 B
C++

/*
*
* © 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html
*
* (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
*
*/
#include "loengine.h"
#include "rsurface.h"
#include "LETypes.h"
#include "LEFontInstance.h"
#include "RenderingSurface.h"
U_CDECL_BEGIN
void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height)
{
RenderingSurface *rs = (RenderingSurface *) surface;
rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
}
U_CDECL_END