Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ogccse!blake!ndsuvax!nebakke From: nebakke@ndsuvax.UUCP (Jeff Bakke) Newsgroups: comp.graphics Subject: Filled Arc Summary: Algorithm requested Message-ID: <3002@ndsuvax.UUCP> Date: 13 Oct 89 06:54:35 GMT Reply-To: nebakke@ndsuvax.UUCP (Jeff Bakke) Distribution: comp.graphics Organization: North Dakota State University, Fargo Lines: 19 I've been keeping watch on this group for sometime and although I've seend requests for circle/ellipse/arc functions, I was wondering if anyone had an algorithm/source/pseudo-code for a filled-arc function. I am currently using a filled arc function which simply draws a line from the center point to each point on the curve. The problem with this is that in a large arc, you end up with some gaps inside the arc. I alleviate this problem with a line function that draws a line 3 pixels wide instead of just one but unfortunately this function is horrendously slow. Is there a better method for filling an arc or should I just make an effort and improve on the wide line function? It seems to me that there would be a better way to do this but I haven't the faintest idea how. Thanks. Jeff Bakke nebakke@plains.NoDak.edu nu113738@ndsuvm1.bitnet