The TVCRS procedure manipulates the display device cursor. The initial state of the cursor is device dependent. Call TVCRS with one argument to enable or disable the cursor. Call TVCRS with two parameters to enable the cursor and place it on pixel location (X, Y).
To enable the graphics cursor and position it at device coordinate (100, 100), enter:
TVCRS, 100, 100
To position the cursor at data coordinate (0.5, 3.2), enter:
TVCRS, 0.5, 3.2, /DATA
This argument specifies whether the cursor should be on or off. If this argument is present and nonzero, the cursor is enabled. If ON_OFF is zero or no parameters are specified, the cursor is turned off.
The column to which the cursor is set.
The row to which the cursor is set.
Set this keyword to cause X and Y to be interpreted as centimeters, based on the current device resolution.
Set this keyword to cause X and Y to be interpreted as inches, based on the current device resolution.
By default, disabling the cursor works differently for window systems than for other devices. For window systems, the cursor is restored to the standard cursor used for non-IDL windows (and remains visible), while for other devices it is completely blanked out. If the HIDE keyword is set, disabling the cursor causes it to always be blanked out.