[Mono-devel-list] Found a bug in DrawBeziers in Graphics.cs (I think...)
Duncan Mak
duncan at novell.com
Thu Jul 28 14:25:37 EDT 2005
On Mon, 2005-07-25 at 13:36 +0200, Heinz Mueller wrote:
> Now to the subject: when trying out a program from the fist
> mentioned book (a clock with Bezier spline hands with System.Drawing)
> I got an value out of range exception in the points array of
> DrawBeziers.
> I looked up the source and I think the DrawBeziers for loop should
> start with
> for (i=0;(i+3)<length;i+=3)...
> or the first statement should be
> if (i == (length -1)) break;
Could you attach a test case that shows the problem?
--
Duncan Mak <duncan at novell.com>
More information about the Mono-devel-list
mailing list