Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 3
0
 public NodePointArcCenter(Arc owner)
 {
     m_owner = owner;
     m_clone = m_owner.Clone() as Arc;
     m_originalPoint = m_owner.Center;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 7
0
 public Circle(Arc.eArcType type)
     : base(type)
 {
 }
Exemplo 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;
 }
Exemplo n.º 9
0
 public virtual IDrawObject Clone()
 {
     Arc a = new Arc();
     a.Copy(this);
     return a;
 }