Beispiel #1
0
        protected override Rectangle GetSurroundingRect()
        {
            Rectangle    lRet    = Rectangle.Empty;
            List <Point> lPoints = new List <Point>(Points);

            if (_MovingPoint != Point.Empty)
            {
                lPoints.Add(_MovingPoint);
            }

            return(DrawingTool.GetClipRect(lPoints.ToArray()));
        }
Beispiel #2
0
 protected override Rectangle GetSurroundingRect()
 {
     return(DrawingTool.GetClipRect(new Point[] { StartPos, EndPos }));
 }