private void TransformSelectedElementsRot(double rot)
        {
            Vector2 p;

            foreach (var shape in selectedElements)
            {
                Debug.WriteLine(shape.Name + " angl offset: " + UtilityStuff.GetAngleFromOrbit(new Vector2(selectedElement.X, selectedElement.Y), new Vector2(shape.X, shape.Y)));
                p       = UtilityStuff.GetOrbitPos(rot + UtilityStuff.GetAngleFromOrbit(new Vector2(selectedElement.X, selectedElement.Y), new Vector2(shape.X, shape.Y)), UtilityStuff.Vector2Dist(new Vector2(selectedElement.X, selectedElement.Y), new Vector2(shape.X, shape.Y)));
                shape.X = selectedElement.X + p.X;
                shape.Y = selectedElement.Y + p.Y;
                Debug.WriteLine(shape.X.ToString() + "  /  " + shape.Y.ToString());
            }
        }