Esempio n. 1
0
 public NodePointArcRadius(Arc owner)
 {
     m_owner = owner;
     m_clone = m_owner.Clone() as Arc;
     m_clone.CurrentPoint = m_owner.CurrentPoint;
     m_originalValue = m_owner.Radius;
 }
Esempio n. 2
0
 public virtual void Finish()
 {
     m_endValue = m_clone.Radius;
     m_owner.Radius = m_clone.Radius;
     m_owner.Selected = true;
     m_clone = null;
 }
Esempio n. 3
0
 public NodePointArcCenter(Arc owner)
 {
     m_owner = owner;
     m_clone = m_owner.Clone() as Arc;
     m_originalPoint = m_owner.Center;
 }
Esempio n. 4
0
 public virtual void Finish()
 {
     m_endPoint = m_clone.Center;
     m_owner.Center = m_clone.Center;
     m_owner.Radius = m_clone.Radius;
     m_owner.Selected = true;
     m_clone = null;
 }
Esempio n. 5
0
 public virtual void Finish()
 {
     m_endA1 = m_clone.StartAngle;
     m_endA2 = m_clone.EndAngle;
     m_owner.Copy(m_clone);
     m_clone = null;
 }
Esempio n. 6
0
 public NodePointArcAngle(Arc owner)
 {
     m_owner = owner;
     m_clone = m_owner.Clone() as Arc;
     m_clone.CurrentPoint = m_owner.CurrentPoint;
     m_originalA1 = m_owner.StartAngle;
     m_originalA2 = m_owner.EndAngle;
     m_owner.Selected = false;
 }
Esempio n. 7
0
 public Circle(Arc.eArcType type)
     : base(type)
 {
 }
Esempio n. 8
0
 public void Copy(Arc acopy)
 {
     base.Copy(acopy);
     Center = acopy.Center;
     Radius = acopy.Radius;
     StartAngle = acopy.StartAngle;
     EndAngle = acopy.EndAngle;
     Selected = acopy.Selected;
     Direction = acopy.Direction;
     m_arcType = acopy.m_arcType;
     m_curPoint = acopy.m_curPoint;
 }
Esempio n. 9
0
 public virtual IDrawObject Clone()
 {
     Arc a = new Arc();
     a.Copy(this);
     return a;
 }