Ejemplo n.º 1
0
 protected sealed override void OnGeneratePath(ref GraphicsPath path)
 {
     foreach (IDrawObj obj in ObjList)
     {
         BasePath.AddPath(obj.MatrixPath, false);
     }
     SetDirectRect(BasePath.GetBounds());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 输出路径提供
 /// </summary>
 /// <param name="path"></param>
 protected override void OnGeneratePath(ref GraphicsPath path)
 {
     if (false == IsNodeOperate)//不是鼠标操作
     {
         ScaleDatas(Rect, DataBk.Rect, NodeDatas, _nodeDatasBk);
     }
     GenerateNodePath(ref path);
     SetDirectRect(BasePath.GetBounds());
 }
Ejemplo n.º 3
0
 protected override void OnGeneratePath(ref GraphicsPath path)
 {
     if (EditMode == EditMode.Normal)
     {
         ScaleNode(Rect, DataBk.Rect, _points, _pointsBk);
     }
     BasePath.AddPath(new GraphicsPath(_points, _types), false);
     SetDirectRect(BasePath.GetBounds());
 }