i know the Bresenham and DDA way to draw one line, but, how to draw line with given width? for example, I can use Bresenham way to draw one 1 pixel width line, how can i draw the line with 3 or 10 pixels width?
I saw one sample which used filled circle instead of draw one pixel, I tried this way but the performance is poor, any other way?
please give me one sample, thanks.