comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: tvrdc - undocumented routine?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: tvrdc - undocumented routine? [message #4129] Mon, 01 May 1995 00:00
braun is currently offline  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 Go to previous message
thompson is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: strart up file in idl
Next Topic: map projection / poly fill bug

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:53:44 PDT 2025

Total time taken to generate the page: 0.79932 seconds