MCPcopy Create free account
hub / github.com/KDE/okular / transform

Method transform

core/area.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40NormalizedPoint::NormalizedPoint(const NormalizedPoint &) = default;
41
42void 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
51double NormalizedPoint::distanceSqr(double x, double y, double xScale, double yScale) const
52{

Callers

nothing calls this directly

Calls 1

annotationTransformMethod · 0.80

Tested by

no test coverage detected