[Mono-winforms-list] 1 pixel offset problem

Ivan N. Zlatev contact at i-nz.net
Thu Jul 24 17:36:17 EDT 2008


Ernesto wrote:
> 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.
> 

Seems like you are using an old libgdiplus with a newer MWF. What 
versions of Mono and libgdiplus have you got installed?

> 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.
> 

-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
"It's all some kind of whacked out conspiracy."


More information about the Mono-winforms-list mailing list