SLIDE 1
1
Drawing a line in 2D
- Consider a 7x7 pixel screen
- Draw an oblique line across it
Selecting the pixels
- Indexing down through y
- Indexing across through x