Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 18556 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 6400 [details]
Results from Mac and Windows
Graphics.ScaleTransform and RotateTransform does not provide expected results as in .Net. Output is wrong and unusable.
TranslateTransform works just fine. I tried 3.2.6 and 3.2.7. Results are the same.
Below is the code to reproduce and screenshots in the attachment:
public static void Main(string args)
public class TestForm : Form
ClientSize = new Size(200, 200);
Paint += (object sender, System.Windows.Forms.PaintEventArgs e) =>
Graphics g = e.Graphics;
Rectangle r = new Rectangle(0, 0, 100, 50);
Doesn't work for me on Linux either (Mono 3.0.6). The result is slightly different though: the red and blue rectangles are drawn correctly, but the green rectangle is not drawn at all.