MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / toPoint

Function toPoint

3rdparty/qcustomplot/qcustomplot.h:464–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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); }

Callers

nothing calls this directly

Calls 1

QPointClass · 0.85

Tested by

no test coverage detected