148511Sbostic /*- 2*61391Sbostic * Copyright (c) 1980, 1986, 1993 3*61391Sbostic * The Regents of the University of California. All rights reserved. 448511Sbostic * 548511Sbostic * %sccs.include.proprietary.c% 629814Ssklower */ 729814Ssklower 829814Ssklower #ifndef lint 9*61391Sbostic static char sccsid[] = "@(#)open.c 8.1 (Berkeley) 06/04/93"; 1048511Sbostic #endif /* not lint */ 1129814Ssklower 1229814Ssklower /* 1329814Ssklower * converts plot to grn 1429814Ssklower */ 1529814Ssklower 1629814Ssklower #include "grnplot.h" 1729814Ssklower 1829814Ssklower int curx, cury; /* Current world position */ 1929814Ssklower int xbot=0, ybot=0; /* Coordinates of screen lower-left corner */ 2029814Ssklower double scale=1; /* The number of pixels per 2**12 units 2129814Ssklower * of world coordinates. 2229814Ssklower */ 2329814Ssklower int linestyle = 5; 2429814Ssklower int ingrnfile = 0; 2529814Ssklower int invector = 0; 2629814Ssklower 2729814Ssklower 2829814Ssklower /*--------------------------------------------------------- 2929814Ssklower * Openpl initializes the graphics display and clears its screen. 3029814Ssklower * 3129814Ssklower * Results: None. 3229814Ssklower * 3329814Ssklower * Side Effects: 3429814Ssklower * 3529814Ssklower * Errors: None. 3629814Ssklower *--------------------------------------------------------- 3729814Ssklower */ openpl()3829814Sskloweropenpl() 3929814Ssklower {} 40