Computer Graphics
Programs I have done :
Program 1 - Drawing static images.
Program 2 - MP Line
I recommend mugging the values of inc* and start* arrays if you want to
use the code. It might be just too time consuming to derive them in the examination.
Program 5 - Transformations (Rectangle)
Program 6 - Transformations (House-like figure)
Please note that the (somewhat) complex macros you see at the top of the programs 5 and 6 are the main lines in the program. However, they are not axiomatic and shouldn't be mugged. You are supposed to derive this (They are got from the composition matrix of the required transform.)
Program 7 - Cohen Sutherland Line Clipping
Program 8 :
Rename codes to .cpp before use.