[Interest] QPointF constructor from QPoint
samjnaa at gmail.com
Wed Sep 19 04:31:33 CEST 2012
Hello. I ran into this recently: Is there a reason that there is currently
(4.8.1) no constructor for QPointF from QPoint? I can understand that
QPointF should be explicitly converted to QPoint since it involves a loss
of precision but just as integers are accepted everywhere that doubles are,
it would be most useful (code less create more) if QPoint is accepted
everywhere that QPointF is.
Sent from my Android phone
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest