[Interest] QPointF constructor from QPoint
cmakshin at gmail.com
Wed Sep 19 10:30:56 CEST 2012
QPointF::QPointF (const QPoint&)
Isn't that what you are asking for? If it is -- it's there.
On Sep 19, 2012 6:31 AM, "Shriramana Sharma" <samjnaa at gmail.com> wrote:
> 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
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest