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

Method PolyQtAnnotation

ASAP/annotation/PolyQtAnnotation.cpp:10–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <cmath>
9
10PolyQtAnnotation::PolyQtAnnotation(const std::shared_ptr<Annotation>& annotation, QObject* parent, float scale) :
11 QtAnnotation(annotation, parent, scale),
12 _lineThickness(3),
13 _lineAnnotationSelectedThickness(4.5),
14 _rectColor(QColor("blue")),
15 _rectSelectedColor(QColor("red")),
16 _closed(false),
17 _type("spline"),
18 _currentLoD(1.0),
19 _lastClickedLinePoint(QPointF()),
20 _fill(false)
21{
22
23}
24
25QRectF PolyQtAnnotation::boundingRect() const {
26 QRectF bRect;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected