[Qt-interest] why does QGrahicsView framework uses floats for coordiantes ?

Pritam Ghanghas pritam_ghanghas at infosys.com
Wed Jun 30 14:17:42 CEST 2010


Hi

why does QGrahicsView framework uses floats for coordinates ?
is it just to have larger maximum value possible or some other reason?
and
is there a performance penalty because of that if my hardware doesn't
have a FPU? 
I found my Qwidgets to be signifacntly faster than QGraphicsItems. which
is unexpected considering docs say that QGaphicsitems are lighter than 
Qwidgets.


-- 
Thanks,
Pritam






More information about the Qt-interest-old mailing list