| 34 | } |
| 35 | |
| 36 | void PolyQtAnnotation::onAnnotationChanged() { |
| 37 | _currentPath = getCurrentPath(_annotation->getCoordinates()); |
| 38 | if (_type == "spline") { |
| 39 | _polys = _currentPath.toFillPolygon(); |
| 40 | if (!_closed && _polys.isClosed()) { |
| 41 | _polys.pop_back(); |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | std::vector<QPointF> PolyQtAnnotation::catmullRomToBezier(const QPointF& p0, const QPointF& p1, const QPointF& p2, const QPointF& p3) const |
| 47 | { |
nothing calls this directly
no test coverage detected