Class 6 Exam  >  Class 6 Notes  >  Drawing a Straight Line - Class 6

Drawing a Straight Line - Class 6 PDF Download

Dy straight line?
Ref: https://edurev.in/question/683574/Dy-straight-line-

Drawing a Straight Line

General Theory

The general problem of scan conversion is which pixels to turn on. For example, assume a line with positive slope in the first octant, i.e., 0.0 <= m <= 1.0.

Drawing a Straight Line - Class 6


and drawn from left to right: (X1, Y1) to (X2, Y2):







Drawing a Straight Line - Class 6







The problem is that as we increment xi to xi+1, do we turn on xi+1, yi or xi+1, yi+1?

Drawing a Straight Line - Class 6






The general goal is to minimize the stair-step effect (jaggies), have a uniform line density, and require the minimum drawing time. Remember, we must always round or truncate to integers since pixels are at integer positions.

The document Drawing a Straight Line - Class 6 is a part of Class 6 category.
All you need of Class 6 at this link: Class 6
Download as PDF

Top Courses for Class 6

Related Searches

Summary

,

Extra Questions

,

Drawing a Straight Line - Class 6

,

Drawing a Straight Line - Class 6

,

Drawing a Straight Line - Class 6

,

study material

,

ppt

,

practice quizzes

,

Objective type Questions

,

Viva Questions

,

Important questions

,

video lectures

,

mock tests for examination

,

Semester Notes

,

past year papers

,

Exam

,

pdf

,

Sample Paper

,

MCQs

,

Previous Year Questions with Solutions

,

Free

,

shortcuts and tricks

;