Example #1
0
        static void AnisotropicScale_Executing(object sender, EventArgs e)
        {
            DesignBody designBody = Window.ActiveWindow.ActiveContext.SingleSelection as DesignBody;

            designBody.Scale(
                Frame.Create(designBody.GetBoundingBox(Matrix.Identity).Center, Direction.DirX, Direction.DirY),
                1,
                1.5,
                2
                );
        }