[Mono-devel-list] [Patch] Bug in System.Drawing.Graphics.DrawPie/FillPie

Patrick Michel PBMichel at web.de
Tue Jul 19 12:01:21 EDT 2005


Hello!

I appended another version of the patch... since it might be a good  
idea to calculate the "sign" variabel from the sweepAngle, not endAngle.

Greets,

Patrick Michel

On Jul 19, 2005, at 15:24, Patrick Michel wrote:

> Hello!
>
> I appended a suggested patch to the bugreport in bugzilla and this  
> mail, to solve the issue.
>
> Greets,
>
> Patrick Michel
>
>
> <pie.patch>
>
> On Jul 5, 2005, at 14:06, Patrick Michel wrote:
>
>
>> Hello!
>>
>> While using the System.Drawing package we found the following bug:
>>
>> Graphics.DrawPie(...) and
>> Graphics.FillPie(...)
>>
>> both draw lines in the correct angles, but the ark always starts  
>> at 0. For the fill method the effect is that a pie ending at 360  
>> will fill the whole circle...
>>
>> Greets,
>>
>> Patrick Michel
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>
>




More information about the Mono-devel-list mailing list