Library /sys$common/syshlp/basichelp.hlb Graphics, SET Statements, INITIAL_POINT *Conan The Librarian (sorry for the slow response - running on an old VAX) |
The SET INITIAL POINT statement allows you to specify an initial point that a user can enter as the default input. You supply the world coordinates of this point. VAX BASIC uses the current transformation for output to display this initial point. Example EXTERNAL PICTURE circle(SINGLE,) DECLARE SINGLE center_x, center_y SET WINDOW , TRAN 1 : 0,100,0,100 SET WINDOW , TRAN 2 : 10,40,0,5 SET TRANSFORMATION 1 SET INITIAL POINT , USING TRAN 2 & : 20,3.5 GET POINT center_x, center_y DRAW circle(center_x, center_y) END
Additional Information (explode) :
|