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

ZPAN2

ZPAN2

Name


      ZPAN2

Purpose


      Zoom and pan around an image using the mouse, mark center.

Category


Calling Sequence


      zpan2, ix, iy

Inputs


Keyword Parameters


Keywords


        INWINDOW=w1 input window (window to zoom).
        ZOOM=zm Initial zoom factor (def=2).
        SIZE=sz Approximate size of zoom window (def=250).
        XPOS=xp,YPOS=yp Mag window position.
        /KEEP keep mag window on exit (else delete it).
          A new window will appear each time zpan2 called,
          /KEEP just does not delete it on exit.
        MAGWIN=mwin Window index of mag window. Returned on exit
          and may be sent in but must have correct size.
          Can use with /KEEP.

Outputs


Common Blocks


      zpan2_com

Notes


      Note: The mag window may be dragged to a new position.
        The new position will be remembered on the next call
        to zpan2.

Modification History


      R. Sterner, 2004 May 17
      R. Sterner, 2004 May 31 --- Added MAGWIN keyword.
  Copyright (C) 2004, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us