Library /sys$common/syshlp/basichelp.hlb Graphics, LOCATE_POINT *Conan The Librarian (sorry for the slow response - running on an old VAX) |
A LOCATE POINT statement accepts a single point input by a user. Points accepted with the LOCATE POINT statement are not affected by the transformation function associated with the DRAW statement. 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 OPTION TYPE = EXPLICIT EXTERNAL PICTURE boat(SINGLE,) DECLARE LONG alt_tran,which_tran, & REAL user_x, user_y !+ !Specify alternative transformation for initial point !- alt_tran = 2 !+ !Request coordinate pair from user and offer default point !- LOCATE POINT , AT 50,50 USING TRAN alt_tran : user_x, user_y , & which_tran
Additional Information (explode) :
|