MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the midpoint (or Bresenham) algorithm for rasterizing lines given below:Which statements are true?P: For a line with slope m>1, we should change the outer line in line (4) to be over y.Q: Lines (10) and (12) update the decision variable d through an incremental evaluation of the line equation f.R: The algorithm fails if d is over 0. |
| A. | P, Q and R |
| B. | P only |
| C. | P and Q only |
| D. | Q and R only |
| Answer» D. Q and R only | |