New utility: The Viewport Explorer
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Fri, 08 Jul 2005 04:44:20 -0400
I was recently reviewing some material in which I believed the description of the
coordinate transformations was erroneous. The author insisted that the material was
absolutely correct. To demonstrate the error, I wrote a little program that showed exactly
what was happening. It was a useful little program, so I enhanced it a bit and it is now
available for everyone. What it allows you to do is experiment with SetWindowOrg,
SetViewportOrg, SetWindowExt, SetViewportExt, and mapping modes, and explore the effects
of this on a displayed image. It also illustrates how to do logical to device coordinate
mappings, how to do dragging using logical coordinates, and other useful tricks. Enjoy.
http://www.flounder.com/viewport.htm
joe
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: New utility: The Viewport Explorer
- From: Scot T Brennecke
- Re: New utility: The Viewport Explorer
- From: Martin Richter [MVP]
- Re: New utility: The Viewport Explorer
- Prev by Date: Re: Group boxes - colours and more
- Next by Date: Re: How can I connect to MySQL?
- Previous by thread: Need expert advice (CString)
- Next by thread: Re: New utility: The Viewport Explorer
- Index(es):
Relevant Pages
|
|