| 466 | /** class SourceRefObjectRect **/ |
| 467 | |
| 468 | SourceRefObjectRect::SourceRefObjectRect(const NormalizedPoint &point, void *srcRef) |
| 469 | : ObjectRect(point.x, point.y, .0, .0, false, SourceRef, srcRef) |
| 470 | , m_point(point) |
| 471 | { |
| 472 | const double x = m_point.x < 0.0 ? 0.5 : m_point.x; |
| 473 | const double y = m_point.y < 0.0 ? 0.5 : m_point.y; |
| 474 | const QRectF rect(x - 2, y - 2, 5, 5); |
| 475 | m_path.addRect(rect); |
| 476 | |
| 477 | m_transformedPath = m_path; |
| 478 | } |
| 479 | |
| 480 | QRect SourceRefObjectRect::boundingRect(double xScale, double yScale) const |
| 481 | { |
nothing calls this directly
no outgoing calls
no test coverage detected