[Mono-devel-list] Found a bug in DrawBeziers in Graphics.cs (I think...)

Heinz Mueller heinz.mueller at fujitsu-siemens.com
Fri Jul 29 04:17:58 EDT 2005

Duncan Mak wrote:
> 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
>>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?
Hi all,
sample (source code) is attached...

Regards, Heinz

Heinz Mueller heinz.mueller at fujitsu-siemens.com
Tel: (+49)5251 815137 Fax: ... 816106
Disclaimer: All opinions above are my own (at least I think so ;-))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testit.cs
Type: text/x-csharp
Size: 1214 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050729/599e7a9e/attachment.bin 

More information about the Mono-devel-list mailing list