comparison org.eclipse.draw2d/src/org/eclipse/draw2d/geometry/Transform.d @ 16:dbfb303e8fb0

first complete successful compile (win-only)
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 08:56:47 +0100
parents bc29606a740c
children
comparison
equal deleted inserted replaced
15:c4b1a29263fc 16:dbfb303e8fb0
89 y *= scaleY; 89 y *= scaleY;
90 90
91 temp = x * cos - y * sin; 91 temp = x * cos - y * sin;
92 y = x * sin + y * cos; 92 y = x * sin + y * cos;
93 x = temp; 93 x = temp;
94 return new Point(Math.round(x + dx), Math.round(y + dy)); 94 return new Point(cast(double)Math.round(x + dx), cast(double)Math.round(y + dy));
95 } 95 }
96 96
97 } 97 }