Page 138 - DCAP313_LAB_ON_COMPUTER_GRAPHICS
P. 138

Lab on Computer Graphics



                   Notes                   Enter your choice: 1
                                           *******Translation******* Enter the value of shift vector:
                                           150
                                           150
                                           ******2DTransformations*******
                                           1. Translation
                                           2. Rotation
                                           3. Scaling
                                           4. Reflection
                                           5. Shearing
                                           6. Exit
                                           Enter your choice: 2
                                           *******Rotation*******
                                           Enter the value of fixed point and angle of rotation:
                                           300
                                           300
                                           70
                                           ******2DTransformations******* 1.Translation
                                           2. Rotation
                                           3. Scaling
                                           4. Reflection
                                           5. Shearing
                                           6. Exit
                                           Enter your choice: 3
                                           ********Scaling*******
                                           Enter the value of scaling factor:
                                           2
                                           2
                                           ******2DTransformations*******
                                           1. Translation
                                           2. Rotation
                                           3. Scaling
                                           4. Reflection
                                           5. Shearing
                                           6. Exit
                                           Enter your choice: 4
                                           *******Reflection*********
                                           1. about x-axis
                                           2. about y-axis
                                           3. about both axis
                                           Enter your choice: 1
                                           Enter the fixed point


        132                               LOVELY PROFESSIONAL UNIVERSITY
   133   134   135   136   137   138   139   140   141   142   143