On 26-Jan-00 Richard Hartman wrote:
> I'd suggest drawing from the edge to the center.
> That is, determine each pixel that makes up the
> edge of the arc, then draw from it to the center.
>
> If you draw from the center, I am imagining some
> sort of code that steps through degrees, or fractions
> of degrees, and depending upon the diameter of the
> circle of which the wedge is a part, any fraction
> of a degree you use may still result in some
> non-filled pixels towards the edge of the wedge.
Also if you write your own line routine, just make it so it doesn't draw any
diagonal pixels.. but rather make it stair step by 90 degrees like an etch-a
-sketch would by adding an extra pixel to each diagonal. That will eliminate
the missing dots.
/* Chris Faherty <[EMAIL PROTECTED]> */
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html