[openbeos] Re: Round Rects Are Here
- From: Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Sat, 27 Mar 2004 11:58:59 -0500
Yes - and this becomes more pronounced in bigger circles. I used StrokeLine
to fill in and it works very nicely. Differences in where StrokeLine makes
midpoint changes vs some other algorithm might be the difference between the
app_server's implementation and mine.
Michael
On 2004-03-26 at 12:09:32 [-0500], Mahmoud Al Gammal wrote:
> These are the coordinates produced by Michael's algorithm for radius = 10:
(
> 0, 10)
> ( 1, 10)
> ( 2, 10)
> ( 3, 10)
> ( 4, 9)
> ( 5, 9)
> ( 6, 8)
> ( 7, 7)
> ( 8, 6)
> ( 9, 4)
> (10, 0)
>
> Now, if you plot these points you'll notice that the the resulting curve is
> not continuous. There are gaps between (8, 6) & (9, 4) and (9, 4) & (10,
> 0). How did you handle that?
>
> Thanks for the article, it was an interesting read :) Mahmoud
- References:
- [openbeos] Round Rects Are Here
- From: Mahmoud Al Gammal
Other related posts:
- » [openbeos] Round Rects Are Here
- » [openbeos] Re: Round Rects Are Here
- [openbeos] Round Rects Are Here
- From: Mahmoud Al Gammal