Library /sys$common/syshlp/basichelp.hlb
Graphics, GET_POINT

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  A GET POINT statement accepts a single  point  of  user  input.   Points
  accepted with the GET POINT statement are affected by the transformation
  function associated with the DRAW  statement,  whereas  points  accepted
  with  the  LOCATE  statement  are  not.   The input point is transformed
  according to the transformation for the viewport that  the  point  falls
  into.   If  the point falls into an area where more than one viewport is
  valid, VAX BASIC uses the transformation with the highest priority.

  Example

  DECLARE SINGLE user_x, user_y,    &
          LONG which_tran
  SET WINDOW , TRAN 1 : 0,100,0,100
  SET VIEWPORT , TRAN 1 : 0,0.5,0,0.5
  !+
  !Use TRAN 1 for initial point
  !-
  GET POINT , AT 50,50 USING TRAN 1 : user_x, user_y ,which_tran

  Additional Information (explode) :

  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.