ISRO | CS | 2018 | Miscellaneous | Question 72

Last Updated :
Discuss
Comments

Perform window to viewport transformation for the point (20, 15). Assume that (Xwmin, Ywmin) is (0,0); (Xwmax, Ywmax) is (100,100); (Xvmin, Yvmin) is (5,5); (Xvmax, Yvmax) is (20,20). The value of x and y in the viewport is

x = 4 , y = 4

x = 3 , y = 3

x = 8 , y = 7.25

x = 3 , y = 4

Share your thoughts in the comments