public void Execute(ref Context context) { movedShapes.Accept(new ResizeVisitor(distance.X, distance.Y)); context.drawPanel.Invalidate(); }
public AddResize(ShapeList movedShapes, Point distance) { this.movedShapes = movedShapes; this.distance = distance; movedShapes.Accept(new ResizeVisitor(-distance.X, -distance.Y)); }