[Mono-winforms-list] 1 pixel offset problem
Ernesto
equistango at gmail.com
Thu Jul 24 19:37:15 EDT 2008
Ivan N. Zlatev escribió:
> 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?
>
Oh... I didn't know it could be a version problem. I'll try updating
lidgdiplus.
BTW, I'm using libgdiplus0-1.9-2 with mono 2.0 or trunk.
Regards,
Ernesto
More information about the Mono-winforms-list
mailing list