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