Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C++


C#
SetWindowExtEx () ;
SetViewportExtEx () ;
SetWindowOrgEx () ;
SetViewportOrgEx () ;



1. the y axis of mode MM_TEXT is from top to down,and that of MM_ISOTROPIC is opposite. so i have a question ,the y axis oriention described above is refer to the page space or device or both ?

2.SetWindowExtEx (),SetViewportExtEx (),can not only set extention for both x axis and y axis ,but also set the x and y oriention .how the to page coordinate translation into device coordinate after that ? And how the quadrant mapps ? That really confused me .

Can someone explain it for me ? Or post a picture illustrating the two coordinates relations ?


PS:
my english is poor ,my fault
Posted

1 solution

I know it is rather confusing but you should study Coordinate Spaces and Transformations[^], and it may well be available in your own language.
 
Share this answer
 
Comments
han7741 5-Nov-14 6:12am    
thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900