comparison 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
comparison
equal deleted inserted replaced
1271:0ca50d275b9a 1279:7ec8fea061b9
88 static AffineTransform2D CreateOffset(double dx, 88 static AffineTransform2D CreateOffset(double dx,
89 double dy); 89 double dy);
90 90
91 static AffineTransform2D CreateScaling(double sx, 91 static AffineTransform2D CreateScaling(double sx,
92 double sy); 92 double sy);
93 93
94 static AffineTransform2D CreateRotation(double angle); 94 static AffineTransform2D CreateRotation(double angle); // CW rotation in radians
95
96 static AffineTransform2D CreateRotation(double angle, // CW rotation in radians
97 double cx, // rotation center
98 double cy); // rotation center
95 99
96 static AffineTransform2D CreateOpenGLClipspace(unsigned int canvasWidth, 100 static AffineTransform2D CreateOpenGLClipspace(unsigned int canvasWidth,
97 unsigned int canvasHeight); 101 unsigned int canvasHeight);
98 }; 102 };
99 } 103 }