Hey Christof !

ROUND() did the magic.

Thanks a lot !


---------- InĂ­cio da mensagem original ----------- 
De: [EMAIL PROTECTED] 
Para: [EMAIL PROTECTED] 
Cc: 
Data: Mon, 26 Nov 2007 17:37:07 +0100 
Assunto: RE: GDI+ 
> Hi Cesar, 
> 
> > Even using the cloned Generic Typographic, together with "Measure trailing 
> spaces" etc, I still get the missing pixel. 
> 
> One pixel sounds like PixelOffsetMode is kicking in. Try setting 
> Graphics.PixelOffsetMode to 4. Also, as GDI+ allows floating point values 
> instead of integers for position and size, I found it necessary to apply 
> ROUND(xxx,0) for any position or dimension value. Otherwise I would get 
> occasionally an off-by-one-pixel error. 
> 
> -- 
> Christof 
> 
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to