• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *
3  * Copyright (C) 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 
17 U_CDECL_BEGIN
18 
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)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)
21 {
22     RenderingSurface *rs = (RenderingSurface *) surface;
23 
24     rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
25 }
26 
27 U_CDECL_END
28