diff Framework/Toolbox/AffineTransform2D.h @ 1279:7ec8fea061b9 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Feb 2020 15:20:08 +0100
parents 0ca50d275b9a 2d8ab34c8c91
children 30deba7bc8e2
line wrap: on
line diff
--- a/Framework/Toolbox/AffineTransform2D.h	Fri Jan 31 17:34:57 2020 +0100
+++ b/Framework/Toolbox/AffineTransform2D.h	Tue Feb 04 15:20:08 2020 +0100
@@ -90,8 +90,12 @@
 
     static AffineTransform2D CreateScaling(double sx,
                                            double sy);
-    
-    static AffineTransform2D CreateRotation(double angle);
+
+    static AffineTransform2D CreateRotation(double angle); // CW rotation in radians
+
+    static AffineTransform2D CreateRotation(double angle, // CW rotation in radians
+                                            double cx,    // rotation center
+                                            double cy);   // rotation center
 
     static AffineTransform2D CreateOpenGLClipspace(unsigned int canvasWidth,
                                                    unsigned int canvasHeight);