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