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

WINDOW_DRIFT

WINDOW_DRIFT

Name


      WINDOW_DRIFT

Purpose


      Return window drift in x and y.

Category


Calling Sequence


      window_drift, dx, dy

Inputs


Keyword Parameters


Outputs


      dx, dy = Returned window drift distances. out

Common Blocks


      window_drift_com

Notes


      Note: The measured position of a graphics window differs
      from the position used to create it. This routine returns
      that difference. Example:
        window,xpos=x0,ypos=y0 ; Create a window at x0,y0.
      The measured position if used to recreated the window
      will give a shifted window. Position the window at
      x0-dx and y0-dy to get a measured position of x0, y0.
      The difference between the set and measured positions is
      due to the thickness of the frame around the window.

Modification History


      R. Sterner, 2004 May 21
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  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