I have an embedded application. I can draw lines horizontally & vertically. I can draw a pixel. I need to draw thick lines at any angle. This I have done but if the line is at say 45deg the ends stay at 0deg or 90deg. I need some sort of fill algorithm to fill the tilted skinny rectangle which I could draw. Or does anyone have a better idea?
0 · ·