Methods for drawing thick lines, Computer Graphics

Describe any two methods for drawing thick lines.

Two method for drawing thick lines are: (1) Using the line- width command: "setline width scale factor (iw)" Line width parameter "iw" is assigned a positive number to indicate the relative width of the line to be displayed. A value of 1 specifies standard- width line. (2) For raster implementation, a standard width line is generated with single pixel at each sample position, as in the Bresenham algorithm. Other- width lines are displayed as positive integer multiples of the standard line by plotting additional pixel along adjacent parallel line paths. For lines with slopeĀ  magnitude less than 1, the line drawing routine can be modified to display thick lines by plotting a vertical span of pixels at each x position along the line. The number of pixel in each span is sat equal to the integer magnitude of parameter 1w. As shown in figure below a double width line is plotted by generating a parallel line above the original line path. For lines with slope magnitude greater then 1, thick lines can be plotted with horizontal spans, alternately picking up pixels to the right and left of the line path.

Posted Date: 7/1/2012 6:42:55 AM | Location : United States







Related Discussions:- Methods for drawing thick lines, Assignment Help, Ask Question on Methods for drawing thick lines, Get Answer, Expert's Help, Methods for drawing thick lines Discussions

Write discussion on Methods for drawing thick lines
Your posts are moderated
Related Questions
Define the term -Monitoring Chemical and nuclear plants (monitoring key parameters), hospitals (monitoring patient's vital signs), burglar alarms (monitoring for intruders) etc

Types of Graphic Images: Graphic images have been processed through a computer can generally be divided in two distinct categories. That image is either bitmap files or vecto

Algorithms for Identification of Observable Objects There are various algorithms for identification of observable objects for various types of applications. Several methods ne

Multiple Channels: As the 1990s, movie theatres have upgraded their sound systems to surround sound systems which carry more than two channels. The most well liked illustrations a

Can you give some basic features of computer graphics? The methods of computer graphics are the manipulation and creation of graphics (artificial images) by computer.

Question 1 What is Packet-switching network? Discuss its basic operation Question 2 Briefly describe Jackson's theorem Question 3 List and explain the two popular

Consider a raster system with the resolution of 1024 x 768 pixels and the color palette calls for 65,536 colors. What is the minimum amount of video RAM that the computer must have

Persistence: How long they continue to emit light (that is, have excited electrons returning to the ground state) after the CRT beam is removed. Persistence is defined as the ti

Differences between digital differential analyzer and VECGEN line algorithm?

explain the registers used in video controller