How to draw thick lines using Bresenham's Algorithm?
-
Hi... I am using Bresenham Algorithm for drawing lines and polygons to fill the frame buffer pixel by pixel. I draw the Lines or Polygons of single pixel thickness. But i have to draw Lines or Polygons with stroke-thickness of 2 to 10 pixels. Please help in developing the thick lines using Bresenham's Algorithm Thanks, Arun AC ++++++++++++++++++++++++++++++++++++++++++++++++++++ I'm not smart, but I like to observe. Millions saw the apple fall, but Newton was the one who asked why. -- William Hazlitt ++++++++++++++++++++++++++++++++++++++++++++++++++++
-
Hi... I am using Bresenham Algorithm for drawing lines and polygons to fill the frame buffer pixel by pixel. I draw the Lines or Polygons of single pixel thickness. But i have to draw Lines or Polygons with stroke-thickness of 2 to 10 pixels. Please help in developing the thick lines using Bresenham's Algorithm Thanks, Arun AC ++++++++++++++++++++++++++++++++++++++++++++++++++++ I'm not smart, but I like to observe. Millions saw the apple fall, but Newton was the one who asked why. -- William Hazlitt ++++++++++++++++++++++++++++++++++++++++++++++++++++
thanks: https://movied.org