I need algorithm for rasterize a curve in to pixels
example http://i54.tinypic.com/ffc0n9.png
I tried apply DDA line algorithm for control points, but I didn't give good result. Also I try enlarge curve (for example in 3 times), and then approximate it by 3x3 rectangles, but still result not so good.