Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. How to draw thick lines using Bresenham's Algorithm?

How to draw thick lines using Bresenham's Algorithm?

Scheduled Pinned Locked Moved Algorithms
graphicsalgorithmshelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arun Chakaravarthy
    wrote on last edited by
    #1

    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 ++++++++++++++++++++++++++++++++++++++++++++++++++++

    U 1 Reply Last reply
    0
    • A Arun Chakaravarthy

      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 ++++++++++++++++++++++++++++++++++++++++++++++++++++

      U Offline
      U Offline
      User 12346520
      wrote on last edited by
      #2

      thanks: https://movied.org

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups