Esempio n. 1
0
 interaction void Draw()
 {
     BeingDrawnShape = new FindBeingDrawnShape(BeingDrawnShapeId, TouchScreen).Find();
     if (BeingDrawnShape != null)
     {
         new UpdateTrack(BeingDrawnShape, NewPointToAdd).Update();
     }
 }
Esempio 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;
 }