Пример #1
0
 /// <summary>
 /// 复制
 /// </summary>
 /// <param name="acopy"></param>
 public new void Copy(BezierCurveEdit acopy)
 {
     base.Copy(acopy);
     m_perSnap    = acopy.m_perSnap;
     m_tanSnap    = acopy.m_tanSnap;
     m_tanReverse = acopy.m_tanReverse;
 }
Пример #2
0
 /// <summary>
 /// 复制编辑矩形
 /// </summary>
 /// <param name="acopy"></param>
 public new void Copy(RectangleEdit acopy)
 {
     base.Copy(acopy);
     m_perSnap    = acopy.m_perSnap;
     m_tanSnap    = acopy.m_tanSnap;
     m_tanReverse = acopy.m_tanReverse;
 }
Пример #3
0
 /// <summary>
 /// 复制编辑线条
 /// </summary>
 /// <param name="acopy"></param>
 public new void Copy(LineEdit acopy)
 {
     base.Copy(acopy);
     m_perSnap           = acopy.m_perSnap;
     m_tanSnap           = acopy.m_tanSnap;
     m_tanReverse        = acopy.m_tanReverse;
     m_singleLineSegment = acopy.m_singleLineSegment;
 }
Пример #4
0
 /// <summary>
 /// 从数据集合中初始化线条并设置垂线快照,正切快照
 /// </summary>
 /// <param name="point"></param>
 /// <param name="layer"></param>
 /// <param name="snap"></param>
 public override void InitializeFromModel(UnitPoint point, DrawingLayer layer, ISnapPoint snap)
 {
     base.InitializeFromModel(point, layer, snap);
     m_perSnap = snap as PerpendicularSnapPoint;
     m_tanSnap = snap as TangentSnapPoint;
 }