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

Method shape

ASAP/annotation/DotQtAnnotation.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37QPainterPath DotQtAnnotation::shape() const {
38 QPainterPath path;
39 path.addEllipse(QPointF(), 1.5 * _rectSize / _currentLOD, 1.5 * _rectSize / _currentLOD);
40 return path;
41}
42
43void DotQtAnnotation::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
44 QWidget *widget) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected