Re: tvrdc - undocumented routine? [message #4129] |
Mon, 01 May 1995 00:00 |
braun
Messages: 4 Registered: May 1995
|
Junior Member |
|
|
In article <3nu4fs$54l@post.gsfc.nasa.gov> thompson@orpheus.nascom.nasa.gov (William Thompson) writes:
>
> This question keeps coming up from time to time, and should probably be listed
> in the FAQ. The reason that TVRDC is undocumented is because it's not needed
> any more. It doesn't do anything that CURSOR doesn't do. TVRDC is only
> retained for compatibility with older programs.
>
Thanks, William. I would agree that a list of outdated and otherwise
undocumented routines (and their replacements) would be a very useful
addition to the FAQ.
Doug Braun
|
|
|
Re: tvrdc - undocumented routine? [message #4135 is a reply to message #4129] |
Sat, 29 April 1995 00:00  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
braun@noao.edu (Doug Braun) writes:
> A great many library functions (e.g. zoom, rdpix, adjct) call a
> routine called "tvrdc" (not to be confused with "tvrd") which apparently
> returns coordinates of the mouse cursor. Yet I find no documentation of
> this routine in either the manual or on-line help (IDL v. 3.6).
> What gives? I ask because this routine would be of greater use to me
> if I understood all the options and variables.
This question keeps coming up from time to time, and should probably be listed
in the FAQ. The reason that TVRDC is undocumented is because it's not needed
any more. It doesn't do anything that CURSOR doesn't do. TVRDC is only
retained for compatibility with older programs.
In the old days, before X-windows, CURSOR was used to read coordinates off of
line graphics terminals, and TVRDC was used to read coordinates off of image
display devices. With the advent of IDL 2.0, the distinctions between
different kinds of graphics devices were mostly removed, and both of these
functions were merged into CURSOR.
William Thompson
|
|
|