QLineF::intersects(): Make the output parameter optional
Change-Id: I1ccd290a81b38db2e86958fa8ce188878484dcc4 Reviewed-by: Konstantin Shegunov <kshegunov@gmail.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
4f12bae850
commit
be44866626
|
|
@ -249,7 +249,7 @@ public:
|
|||
Q_REQUIRED_RESULT QLineF unitVector() const;
|
||||
Q_REQUIRED_RESULT constexpr inline QLineF normalVector() const;
|
||||
|
||||
IntersectionType intersects(const QLineF &l, QPointF *intersectionPoint) const;
|
||||
IntersectionType intersects(const QLineF &l, QPointF *intersectionPoint = nullptr) const;
|
||||
|
||||
constexpr inline QPointF pointAt(qreal t) const;
|
||||
inline void translate(const QPointF &p);
|
||||
|
|
|
|||
Loading…
Reference in New Issue