On Wed, May 16, 2007 at 10:48:52AM +0200, Abdelrazak Younes wrote:
> >>>Still I guess with floats in the Painter interface the parenthesis 
> >>>would look rounder. But that's nothing for the beta I guess.
> >>
> >>It depends if the change would affect only the frontend (i.e. 
> >>QLPainter.cpp) or the generic Painter interface.
> >
> >It changes the Painter interface as the QLPainter::lines method 
> >originally comes from the Painter class. At the moment at many places 
> >(where Painter is used) some rounding magic is performed (e.g. int(x + a 
> >+ 0.5)). Those must be removed and all the coordinated would then be 
> >float. Probably not a complicated patch, but not very small.
> 
> I see. Nothing for 1.5, I guess you're right. Andre might have an opinion...

At the time the painter was created there was no backend that accepted
float coordinates. This has changed now with Qt 4(.1?) accepting also
floats, so this might be worth a try.

Andre'

Reply via email to