public void CheckLastPointFromLine()
		{
			LineShape ls = new LineShape();
			Point from = new Point (1,1);
			Point to = new Point (10,10);
			GraphicsPath p = ls.CreatePath(from,to);
			PointF last = p.GetLastPoint();
			Assert.AreEqual(to,Point.Truncate(last));
		}
        public void CheckLastPointFromLine()
        {
            LineShape    ls   = new LineShape();
            Point        from = new Point(1, 1);
            Point        to   = new Point(10, 10);
            GraphicsPath p    = ls.CreatePath(from, to);
            PointF       last = p.GetLastPoint();

            Assert.AreEqual(to, Point.Truncate(last));
        }
		public void CheckGraphicsPathBounds()
		{
			LineShape ls = new LineShape();
			Point from = new Point (1,1);
			Point to = new Point (10,10);
			GraphicsPath p = ls.CreatePath(from,to);
			RectangleF r = p.GetBounds();
			Assert.AreEqual(from.X,r.Location.X);
			Assert.AreEqual(from.Y,r.Location.Y);
			Assert.AreEqual(to.X - from.X, r.Width);
			Assert.AreEqual(to.Y - from.Y,r.Height);
		}
        public void CheckGraphicsPathBounds()
        {
            LineShape    ls   = new LineShape();
            Point        from = new Point(1, 1);
            Point        to   = new Point(10, 10);
            GraphicsPath p    = ls.CreatePath(from, to);
            RectangleF   r    = p.GetBounds();

            Assert.AreEqual(from.X, r.Location.X);
            Assert.AreEqual(from.Y, r.Location.Y);
            Assert.AreEqual(to.X - from.X, r.Width);
            Assert.AreEqual(to.Y - from.Y, r.Height);
        }