[Mono-winforms-list] 1 pixel offset problem

Ernesto equistango at gmail.com
Thu Jul 24 10:57:12 EDT 2008


Hi,

I noticed that System.Drawing primitives will sometimes render things 
with a one pixel offset. I noticed that this affects MWF too, and I 
understand this is a libgdi problem, probably related to the fact that 
cairo takes pixel coordinates in a different way than Windows' GDI+.
The attached screenshot shows the problem in the Cancel button right 
border of a MessageBox.

I'm willing to try to fix this, but I wanted to ask first if this is a 
known issue or limitation of the current gdiplus implementation.

Regards,
Ernesto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1px.png
Type: image/png
Size: 8689 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080724/117e5fb0/attachment-0001.png 


More information about the Mono-winforms-list mailing list