Exemple #1
0
 GlyphData NewGlyphData(Rasterizer rasterizer, string glyph)
 {
     return(NewGlyphData(rasterizer, DllTool.ToUTF8Bytes(glyph)));
 }
 /// <summary>
 /// Creates a new GlyphData.
 /// </summary>
 /// <param name="rasterizer">The Rasterizer containing the font.</param>
 /// <param name="glyph">The character code of the glyph.</param>
 /// <returns></returns>
 public GlyphData NewGlyphData(Rasterizer rasterizer, string glyph)
 {
     return(NewGlyphData(rasterizer, DllTool.GetNullTailUTF8Bytes(glyph)));
 }