| 8 | #include <cmath> |
| 9 | |
| 10 | PolyQtAnnotation::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 | |
| 25 | QRectF PolyQtAnnotation::boundingRect() const { |
| 26 | QRectF bRect; |
nothing calls this directly
no outgoing calls
no test coverage detected