Preserve Font Size when scaling a Drawing

Posted by serhio on Stack Overflow See other posts from Stack Overflow or by serhio
Published on 2010-06-18T15:20:00Z Indexed on 2010/06/18 15:23 UTC
Read the original article Hit count: 372

Filed under:
|

I do the following when drawing:

Matrix m = new Matrix()
m.Scale(_zoom, _zoom)

e.Graphics.Transform = m

e.Graphics.DrawLine(...) ' line representation
e.Graphics.DrawString(...) ' line text

Now, the text became also scaled. Is it possible to avoid it?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about gdi+