MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / collidesWithPath

Method collidesWithPath

ASAP/annotation/PointSetQtAnnotation.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56bool PointSetQtAnnotation::collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const {
57 return contains(path.currentPosition());
58}
59
60bool PointSetQtAnnotation::contains(const QPointF & point) const {
61 if (shape().controlPointRect().contains(point)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected