Exemplo n.º 1
0
 interaction void Draw()
 {
     BeingDrawnShape = new FindBeingDrawnShape(BeingDrawnShapeId, TouchScreen).Find();
     if (BeingDrawnShape != null)
     {
         new UpdateTrack(BeingDrawnShape, NewPointToAdd).Update();
     }
 }
Exemplo n.º 2
0
 public StopDrawing(int shapeId, Surface onTouchScreen, Point lastPoint)
 {
     LastPointToAdd    = lastPoint;
     BeingDrawnShapeId = shapeId;
     BeingDrawnShape   = new FindBeingDrawnShape(BeingDrawnShapeId, onTouchScreen).Find();
     TouchRecorder     = new StopTrack(BeingDrawnShape, LastPointToAdd);
     ShapeTracker      = onTouchScreen.Controller;
 }