[Mono-bugs] [Bug 434583] Bitmap.SetResolution doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 2 11:11:44 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=434583

User stifu at free.fr added comment
https://bugzilla.novell.com/show_bug.cgi?id=434583#c4





--- Comment #4 from Thomas Goldstein <stifu at free.fr>  2008-11-02 09:11:42 MDT ---
In case anyone is bothered by this bug, there was a very simple workaround in
my case.

Before:

bitmap.SetResolution(96/zoom,96/zoom);
gfx.DrawImage(bitmap, 0, 0);

After:

gfx.DrawImage(bitmap, 0, 0, bitmap.Width*zoom, bitmap.Height*zoom);


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list