protected virtual void FinishDrawing()
		{
			_currentPoint = 0;

			// deselect the drawing tool
			_grac.SetGraphToolFromInternal(NextMouseHandlerType);

			if (_Points.Count > 2)
			{
				var pts = _Points.Select(x => x.LayerCoordinates);
				var go = new ClosedCardinalSpline(pts, _tension, _grac.Doc.GetPropertyContext());
				_grac.ActiveLayer.GraphObjects.Add(go);
			}
		}
			public ClosedCardinalSplineHitTestObject(ClosedCardinalSpline parent)
				: base(parent)
			{
			}
Exemple #3
0
 public ClosedCardinalSplineHitTestObject(ClosedCardinalSpline parent)
     : base(parent)
 {
 }
		public ClosedCardinalSpline(ClosedCardinalSpline from)
			: base(from)  // all is done here, since CopyFrom is virtual!
		{
		}
Exemple #5
0
 public ClosedCardinalSpline(ClosedCardinalSpline from)
     : base(from) // all is done here, since CopyFrom is virtual!
 {
 }