>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  CROSSI2
Libraries

CROSSI2

CROSSI2

Name


      CROSSI2

Purpose


      Interactive cross-hair cursor on screen or plot.

Category


Calling Sequence


      crossi, [x, y]

Inputs


Keyword Parameters


Keywords


        /DATA Causes data coordinates to be used (default).
        /DEVICE Causes window device coordinates to be used.
        /NORMAL Causes normalized coordinates to be used.
        /ORDER Reverse device y coordinate (0 at window top).
        STATUS_PRO=pro Name of optional status update procedure.
        /DETAILS for more info on using STATUS_PRO.
        COLOR=c Set color of line (ignored for /XOR).
          Use -2 for dotted line.
        LINESTYLE=s Line style.
        MAG=m Magnification for an optional magnified window.
          Setting MAG turns window on. /MAG gives magnification 10.
        SIZE=sz Mag window approx. size in pixels (def=200).
        /XMODE Means use XOR plot mode instead of tvrd mode.
        /DIALOG Means give an exit dialog box.
        MENU=m A string array with exit dialog box options.
          An option labeled Continue is always added. Def=Continue.
        DEFAULT=def Set exit menu default.
        EXITCODE=x Returns exit code. Always 0 unless a dialog
          box is requested, then is selected exit option number.
        BUTTON=b Returned button code: 1=left, 2=middle, 4=right.

Outputs


      x = X coordinate of line. in, out
      y = Y coordinate of line. in, out

Common Blocks


Notes


      Note: data coordinates are default.
        X and Y may be set to starting position in entry.

Modification History


      R. Sterner, 1996 Oct 6.
R. Sterner, 1998 Jan 15 --- Dropped the use of !d.n_colors.
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 1996, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us