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

POINTS

POINTS

Name


      POINTS

Purpose


      Convert from size in points to IDL charsize or pixels.

Category


Calling Sequence


      sz = points(n)

Inputs


      n = Size in points (1/72 inch). in

Keyword Parameters


Keywords


        /PIXELS means convert from size in points to size
          in pixels. Returned value sz is then a 2 element
          array: [nxpix, nypix].
        /NORMALIZED means convert from size in points to size
          in normalized coord. Returned value sz is then a
          2 element array: [dx, dy].

Outputs


      sz = Value for IDL charsize. out

Common Blocks


Notes


      Notes: Should be very close for PS Helvetica.
        Not well tested with other fonts. Assumes
        character font size is the distance in points
        from the bottom of the descenders to the top
        of capital letters in units of 1/72 ".

Modification History


      R. Sterner, 27 Jul, 1993
      R. Sterner, 1998 Feb 5 --- Added /NORMALIZED keyword.
  Copyright (C) 1993, 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