• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *
3  * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
4  *
5  */
6 
7 #include "loengine.h"
8 #include "rsurface.h"
9 
10 #include "LETypes.h"
11 #include "LEFontInstance.h"
12 #include "RenderingSurface.h"
13 
14 U_CDECL_BEGIN
15 
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)16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
17                    const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height)
18 {
19     RenderingSurface *rs = (RenderingSurface *) surface;
20 
21     rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
22 }
23 
24 U_CDECL_END
25