WIN32API:
I'm learning GDI programming.
What is the difference between the physical coordinate system and device coordinate system? I want to see examples, please.
Best regards.
Physical coordinate system
Started by AJlxuMuk, Oct 07 2009 02:54 PM
3 replies to this topic
#1
Posted 07 October 2009 - 02:54 PM
|
|
|
#2
Posted 07 October 2009 - 05:51 PM
The logical coordinate system is the coordinate system of your device context. You can define your own logical coord system using functions like SetViewportOrg(), SetWindowOrg(), SetMapMode() and what not.
The device coordinate system is the coordinate system used for your device. Your screen might for example have a coordinate system of 800x600 pixles (lol) or 1680x1050 pixles. This can also be changed (change screen resolution).
I guess this is what you mean by physical coordinate system. The real physical coordinate system is however the native resolution of your screen (or printer or whatever) and can not be changed.
The device coordinate system is the coordinate system used for your device. Your screen might for example have a coordinate system of 800x600 pixles (lol) or 1680x1050 pixles. This can also be changed (change screen resolution).
I guess this is what you mean by physical coordinate system. The real physical coordinate system is however the native resolution of your screen (or printer or whatever) and can not be changed.
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
#3
Posted 10 October 2009 - 03:12 PM
marwex89 said:
The logical coordinate system is the coordinate system of your device context. You can define your own logical coord system using functions like SetViewportOrg(), SetWindowOrg(), SetMapMode() and what not.
The device coordinate system is the coordinate system used for your device. Your screen might for example have a coordinate system of 800x600 pixles (lol) or 1680x1050 pixles. This can also be changed (change screen resolution).
I guess this is what you mean by physical coordinate system. The real physical coordinate system is however the native resolution of your screen (or printer or whatever) and can not be changed.
The device coordinate system is the coordinate system used for your device. Your screen might for example have a coordinate system of 800x600 pixles (lol) or 1680x1050 pixles. This can also be changed (change screen resolution).
I guess this is what you mean by physical coordinate system. The real physical coordinate system is however the native resolution of your screen (or printer or whatever) and can not be changed.
#4
Posted 10 October 2009 - 07:13 PM
No problem ;)
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


Sign In
Create Account

Back to top









