Post Reply 
Screen Coordinate Systems and Scaling
09-25-2015, 02:13 PM (This post was last modified: 09-28-2015 07:36 AM by Martin Hepperle.)
Post: #11
RE: Screen Coordinate Systems and Scaling
(09-24-2015 01:14 PM)Tim Wessman Wrote:  
(09-24-2015 10:38 AM)Martin Hepperle Wrote:  While I am griping ... another annoying little thing when developing programs is the selection in the program list after running a program:
The selection always returns to program #2 in the list. Why #2?

Number two is the first "user" program. The top item is the application program for the currently active application. Did you write your program in an application program?


Also, good job on the little document. One thing I think important to point out is that Xmin/Xmax etc are NOT global. Rather, they are application variables. If you have Function active, it will be using that Xmin. If you then switch to Parametric, your Xmin/Xmax etc will have changed.

Tim,

thank you for the clarification. This means that a well behaving program should save the current values of X/Ymin/max and restore them before it ends.
Martin

Edit: Document above updated with title bar dimensions, 1 pixel border location corrected and list with Apps where X/Y/min/max limits work plus new example.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Screen Coordinate Systems and Scaling - Martin Hepperle - 09-25-2015 02:13 PM



User(s) browsing this thread: 1 Guest(s)