diff OrthancStone/Sources/Toolbox/AffineTransform2D.h @ 1989:e8b9a2ba1df1

Added left/right rotation buttons
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 31 Oct 2022 20:59:59 +0100
parents 7053b8a0aaec
children 07964689cb0b
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/AffineTransform2D.h	Mon Oct 31 17:45:53 2022 +0100
+++ b/OrthancStone/Sources/Toolbox/AffineTransform2D.h	Mon Oct 31 20:59:59 2022 +0100
@@ -36,7 +36,7 @@
     Matrix  matrix_;
 
   public:
-    AffineTransform2D();
+    AffineTransform2D();  // Create the identity transform
 
     // The matrix must be 3x3, without perspective effects
     explicit AffineTransform2D(const Matrix& m);
@@ -106,5 +106,9 @@
                                         bool flipY,
                                         unsigned int width,
                                         unsigned int height);
+
+    static AffineTransform2D CreateFlipX();
+
+    static AffineTransform2D CreateFlipY();
   };
 }