/** * Sets the screen rotation angle * @param angle New screen rotation angle */ void SetScreenAngle(Angle angle) { screen_rotation.SetAngle(angle); }
/** * Returns the current screen rotation angle * @return Screen rotation angle */ Angle GetScreenAngle() const { return screen_rotation.GetAngle(); }
void SetAngle(Angle angle) { rotation.SetAngle(angle); }
gcc_pure RasterPoint Rotate(PixelScalar x, PixelScalar y) const { auto result = rotation.Rotate(x, y); return RasterPoint{ PixelScalar(result.first), PixelScalar(result.second) }; }
Angle GetAngle() const { return rotation.GetAngle(); }