public void Draw(IGraphicsContext <TFont, TGlyph> context) { this.DrawBackground(context); context.SaveState(); context.DrawGlyphRunWithOffset(Run, Position, TextColor); context.RestoreState(); }
public void Draw(IGraphicsContext <TFont, TGlyph> context) { context.SaveState(); var text = Run.Text; var font = Run.Font; context.DrawGlyphRunWithOffset(Run, Position, TextColor); context.RestoreState(); }