views:

814

answers:

1

Hi, I'm looking for a nice and efficient implementation of Xiaolin Wu's anti-aliased line drawing algorithm in C, does anyone have this code they could share with me?

Thanks

+6  A: 

Wikipedia has pseudo code.

Google has many examples like this one or this one. And your question reminded me this nice article on antialiasing.

EDIT: It's time to discover Hugo Helias's website if you don't know it already.

Gregory Pakosz
thanks the second link was exactly what i wanted. I searched on google myself but for some reason couldn't get these links, thanks! :)
banister