At 12:00 AM 7/30/2001 -0700, Paul wrote:
>Subject: how to draw circles [just the circumference]
>From: Paul Nevai <[EMAIL PROTECTED]>
>Date: Sun, 29 Jul 2001 09:43:45 -0400 (EDT)
>X-Message-Number: 6
>
>What is the most efficient way of drawing circles [just the circumference]?
>I think WinDrawRectangleFrame () could be used but how? Using
>WinDrawRectangleFrame (roundFrame, &rT); works only with specific rT sizes.
>Thanks. Best regards, Paul

Paul, there are no circle drawing routines in the ROM - you need to do them 
yourself unfortunately. I'm sure you'll be able to track down a copy of 
Bresenham's integer algorithm from one of the many C source code 
repositories on the net.

If you have any troubles I've got one around here somewhere...

Cheers,
Gavin.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to