.net - Preserve Font Size when scaling a Drawing -


I do the following while drawing:

  matrix m = new matrix () m . Scale (_zoomX, _zoomY) e.Graphics.Transform = m e.Graphics.DrawLine (...) 'line representation' e.Graphics.DrawString (...) 'line text'  
< P> Now, the text has been extended too. Is it possible to avoid it?

  • Try to adjust the font size / _ zoom while drawing it

Comments