| 40 | NormalizedPoint::NormalizedPoint(const NormalizedPoint &) = default; |
| 41 | |
| 42 | void NormalizedPoint::transform(const QTransform &matrix) |
| 43 | { |
| 44 | qreal tmp_x = (qreal)x; |
| 45 | qreal tmp_y = (qreal)y; |
| 46 | matrix.map(tmp_x, tmp_y, &tmp_x, &tmp_y); |
| 47 | x = tmp_x; |
| 48 | y = tmp_y; |
| 49 | } |
| 50 | |
| 51 | double NormalizedPoint::distanceSqr(double x, double y, double xScale, double yScale) const |
| 52 | { |
nothing calls this directly
no test coverage detected