All mock tests are FREE till 31 December — register to save your progress

Consider the rectangle with vertices (0, 0), (0, 2), (3, 0), (3, 2) . There is scaling of 2 towards x -axis and 3 towards y -axis. The new cordinates of the rectangle are

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. (0, 0), (6, 0), (0, 6), (6, 6)

Explanation

Multiply x by 2 and y by 3: (0,0) → (0,0), (0,2) → (0,6), (3,0) → (6,0), (3,2) → (6,6).

More Programming Languages and Computer Graphics questions