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; }
public virtual void Finish() { m_endValue = m_clone.Radius; m_owner.Radius = m_clone.Radius; m_owner.Selected = true; m_clone = null; }
public NodePointArcCenter(Arc owner) { m_owner = owner; m_clone = m_owner.Clone() as Arc; m_originalPoint = m_owner.Center; }
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; }
public virtual void Finish() { m_endA1 = m_clone.StartAngle; m_endA2 = m_clone.EndAngle; m_owner.Copy(m_clone); m_clone = null; }
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; }
public Circle(Arc.eArcType type) : base(type) { }
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; }
public virtual IDrawObject Clone() { Arc a = new Arc(); a.Copy(this); return a; }