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

Method collidesWithPath

ASAP/annotation/PolyQtAnnotation.cpp:194–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194bool PolyQtAnnotation::collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const {
195 return contains(path.currentPosition());
196}
197
198bool PolyQtAnnotation::contains(const QPointF & point) const {
199 if (shape().controlPointRect().contains(point)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected