Bugzilla – Bug 457060
The FillRectangle draws differently in mono.
Last modified: 2008-12-23 21:21:42 UTC
When FillRectangle is used, the X is decreased in 1. g.FillRectangle(new SolidBrush(Color.Red), 10, 10, 20, 20); // For good paint in mono I use, but is different than Microsoft .NET // g.FillRectangle(new SolidBrush(Color.Red), 10 + 1, 10, 20, 20);
Known issue. GDI+ and Cairo have different semantics. We try to adjust the values as close as possible to be identical on both platform but some differences (mostly 1 pixel) cannot be fixed for every cases. *** This bug has been marked as a duplicate of bug 424002 ***