comparison Framework/Toolbox/AffineTransform2D.h @ 1259:69177b10e2b9

various fixes for RadiographyScene: support text layers outside the dicom layer, fix background in this case + extract dicom from rendered scene
author Alain Mazy <alain@mazy.be>
date Tue, 21 Jan 2020 16:52:37 +0100
parents b5dec783ba08
children 2d8ab34c8c91
comparison
equal deleted inserted replaced
1258:9c20ae049669 1259:69177b10e2b9
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 }