LocalToGlobal/GlobalToLocal Convert Window/Screen Coordinates (49753)
The information in this article applies to:
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0
This article was previously published under Q49753 SUMMARY
This article gives examples of how to use LocalToGlobal and
GlobalToLocal, which are Microsoft BASIC Library Code (MBLC) routines
built into Microsoft QuickBASIC Version 1.00 for the Apple Macintosh.
LocalToGlobal and GlobalToLocal are useful to coordinate graphics
statements that use screen coordinates with those that use window
coordinates.
LocalToGlobal takes a point, measured in y and x coordinates in pixels
relative to the current output window, and returns its current
coordinates relative to the Macintosh screen.
GlobalToLocal takes a point, measured in y and x coordinates in pixels
relative to the Macintosh screen, and returns its current coordinates
relative to the current output window.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB49753 |
---|
|