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

TVPOS

TVPOS

Name


      TVPOS

Purpose


      Gives screen position used by tv, tvscl.

Category


Calling Sequence


      tvpos, img, n, x0, y0

Inputs


      img = Image of desired size (for size only). in.
        img may be an array, [nx,ny] giving
        dimensions of desired image instead of
        image itself (saves space).
      n = Position number. in.

Keyword Parameters


Keywords


        RESOLUTION=[rx,ry] Specify bounding array size instead
          of using current screen size. Allows tvpos to work
          with an array with no reference to the screen.

Outputs


      x0, y0 = screen coordinates of lower left out.
          corner of tv position.

Common Blocks


Notes


      Note: On error x0 and y0 are -1.

Modification History


      R. Sterner. 15 July, 1986.
      Johns Hopkins University Applied Physics Laboratory.
      R. Sterner, 11 Dec, 1989 --- converted to SUN.
      R. Sterner, 1995 Nov 21 --- Added RESOLUTION keyword.
  Copyright (C) 1986, 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