"Akhilesh Singh" <[EMAIL PROTECTED]> wrote in message
news:44897@palm-dev-forum...
>
> Hi!
>
> I need to generate pie chart and circles on Palm, but the Palm OS does
not
> support circles. How can i do it?

The easy hack way to draw a circle is to use WinDrawRectangle, use a
square as your rectangle, and provide the circle radius as the corner
radius, for example (from memory)

RectangleType r;
RectSetRectangle(&r, 0, 0, 50, 50);
WinDrawRectangle(&r, 25);

Barring that, you'll have to draw the circle yourself using any of the
standard drawing algorithms.

--
Ben Combee, [EMAIL PROTECTED]
Techwood Broadcasting Foundation, Austin Bureau



-- 
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