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
Application of Computer Aided Design There are several CAD software applications. Several of them along with their respective vendors are listed here: CAD Applications

Question (a)  List any four audio file formats you know. (b)  UTMDigitlab ltd, specialized in digitizing sound, converts an audio stream of the latest album of Shakira into

QUESTION a) Explain with the help of a diagram, how a thermal inkjet printer works. b) Briefly explain the term density range. c) Distinguish between scaling and resampli

Animator Studio and Elastic Reality - Computer Animation Animator Studio It is a cell animation program from AutoDesk. Its predecessor was Animator Pro for PC DOS. Anima

Plasma Panel - Raster Graphics and Clipping This is an inherent memory device. Images can be written into the surface point by point and they keep stable, without flicked for

what is the numerical numbers

Question 1) Why are selection tools useful? Describe them based on different categories Question 2) What are the different types of layers? Describe each type Quest

Three-Dimensional Viewing Three dimensional objects are created using modelling coordinate system. The modelled objects are then placed in locations specified in the scene with


State whether the following statements are true or false. Give reasons/examples to justify your answer.  a)  Cavalier projection is a parallel projection. b)  Angles are not