Brenseham, circles and fun
How should I draw a transparent circle using brenseham''s circle drawing algorithm? I shouldn''t draw two translucent pixels at the same position, but I can''t simply check if the new position is the same as the previous position, as pixels can still overlap at the edges of the "eighths."
Another problem: how I can draw a sector of a circle using the same algorithm? Do I have to calculate the angle using atan for each circle, or is there a faster way?
-Jussi
(quote space for sale (for free))
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement