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
|
|
|