| 462 | double lengthSquared() const { return mX*mX+mY*mY; } |
| 463 | double angle() const { return qAtan2(mY, mX); } |
| 464 | QPoint toPoint() const { return QPoint(int(mX), int(mY)); } |
| 465 | QPointF toPointF() const { return QPointF(mX, mY); } |
| 466 | |
| 467 | bool isNull() const { return qIsNull(mX) && qIsNull(mY); } |