RotateTransform to rotate one existing Point around other
Posted: 10 Dec 2021, 20:39
I am trying to rotate one existing point around the other and in WPF it is possible with method Transform of RotateTransform class
and for example I can do this:
RotateTransform rotation = new RotateTransform();
rotation.Angle = 45;
rotation.CenterX = p1.X;
rotation.CenterY = p1.Y;
p2 = rotation.Transform(p2);
but in NoesisGUI this method does not exist and what I can do instead.
and for example I can do this:
RotateTransform rotation = new RotateTransform();
rotation.Angle = 45;
rotation.CenterX = p1.X;
rotation.CenterY = p1.Y;
p2 = rotation.Transform(p2);
but in NoesisGUI this method does not exist and what I can do instead.