Hi,
I have implemented effective DrawString extension method into WriteableBitmapEx library. It caches character glyphs in array [X,Y,BW-Color], it can be invoked using code
int DrawString(this WriteableBitmap bmp, int x0, int y0, Color fontColor, Typeface typeface, double emsize, string text)
This code will probably work only in WPF (I don'k know anything about differences in Silverlight and WinPhone).
This code is also on codeplex,
https://fastwpfgrid.codeplex.com/SourceControl/latest#WriteableBitmapEx/LetterGlyphTool.cs
https://fastwpfgrid.codeplex.com/SourceControl/latest#WriteableBitmapEx/LetterGlyph.cs
https://fastwpfgrid.codeplex.com/SourceControl/latest#WriteableBitmapEx/IntGeometry.cs
I have implemented effective DrawString extension method into WriteableBitmapEx library. It caches character glyphs in array [X,Y,BW-Color], it can be invoked using code
int DrawString(this WriteableBitmap bmp, int x0, int y0, Color fontColor, Typeface typeface, double emsize, string text)
This code will probably work only in WPF (I don'k know anything about differences in Silverlight and WinPhone).
This code is also on codeplex,
https://fastwpfgrid.codeplex.com/SourceControl/latest#WriteableBitmapEx/LetterGlyphTool.cs
https://fastwpfgrid.codeplex.com/SourceControl/latest#WriteableBitmapEx/LetterGlyph.cs
https://fastwpfgrid.codeplex.com/SourceControl/latest#WriteableBitmapEx/IntGeometry.cs