diff --git a/src/servers/app/DrawState.cpp b/src/servers/app/DrawState.cpp index a673aea410..3b0f3ef370 100644 --- a/src/servers/app/DrawState.cpp +++ b/src/servers/app/DrawState.cpp @@ -457,26 +457,12 @@ DrawState::Transform(float* x, float* y) const *y *= fCombinedScale; *x += fCombinedOrigin.x; *y += fCombinedOrigin.y; - if (!fCombinedTransform.IsIdentity()) { - double _x = *x; - double _y = *y; - fCombinedTransform.Apply(&_x, &_y); - *x = _x; - *y = _y; - } } void DrawState::InverseTransform(float* x, float* y) const { - if (!fCombinedTransform.IsIdentity()) { - double _x = *x; - double _y = *y; - fCombinedTransform.ApplyInverse(&_x, &_y); - *x = _x; - *y = _y; - } *x -= fCombinedOrigin.x; *y -= fCombinedOrigin.y; if (fCombinedScale != 0.0) {