[SDL] drawing of an anti aliased circular arc
Armin Steinhoff
A-Steinhoff at web.de
Wed Mar 14 02:50:05 PDT 2007
Andreas Schiffler <aschiffler at www2.ferzkopp.net> schrieb am 12.03.2007 23:52:53:
>
>
> You might be able to adapt the code from SDL_gfx ... there is an
> aaellipse() routine that could be used possibly with some
> draw-supression in the loop based on pre-calculated counters to just
> draw an arc.
OK ... I will look into that code.
>Or, if you are not concerned about speed too much, recode
> it using a float based iterator and start/end angles.
>
> Source is here: http://www.ferzkopp.net/joomla/content/view/19/14/
>
> (PS: If you ever get some aaArc code working, it would be a great
> addition to SDL_gfx).
Yes ... if my coding looks useful I will release it to the SDL-gfx library.
Many thanks
Armin
>
> Tim Schürmann wrote:
> > Hi!
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
More information about the SDL
mailing list