[Interest] QPointF constructor from QPoint

Shriramana Sharma 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...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120919/ddae1342/attachment.html>

More information about the Interest mailing list