C----------------------------------------------------------------------- C Include file for GRPCKG C Modifications: C 29-Jan-1985 - add HP2648 (KS/TJP). C 16-Sep-1985 - remove tabs (TJP). C 30-Dec-1985 - add PS, VPS (TJP). C 27-May-1987 - remove ARGS, NULL, PS, VPS, QMS, VQMS, HIDMP, C HP7221, GRINL (TJP). C 6-Jun-1987 - remove PRTX, TRILOG, VERS, VV (TJP). C 11-Jun-1987 - remove remaining built-in devices (TJP). C 5-Jul-1987 - replace GRINIT, GRPLTD by GRSTAT. C 16-Aug-1987 - remove obsolete variables. C----------------------------------------------------------------------- C C Parameters: C GRIMAX : maximum number of concurrent devices C GRFNMX : maximum length of file names C GRCXSZ : default width of chars (pixels) C GRCYSZ : default height of chars (pixels) C GRCXSP : default x-spacing of chars (pixels) C GRCYSP : default y-spacing of chars (pixels) C INTEGER GRIMAX, GRFNMX REAL GRCXSZ, GRCYSZ, GRCXSP, GRCYSP PARAMETER (GRIMAX = 3) PARAMETER (GRFNMX = 90) PARAMETER (GRCXSZ = 7.0, GRCYSZ = 9.0) PARAMETER (GRCXSP = 10.0, GRCYSP = 13.0) C C Common blocks: C GRCIDE : identifier of current plot C GRCTYP : device type of current plot C GRGTYP : =0 for hardwired device, >0 for GEDRIVER device. C The following are qualified by a plot id: C GRSTAT : 0 => workstation closed C 1 => workstation open C 2 => picture open C GRPLTD : C GRDASH : software dashing in effect? C GRUNIT : unit associated with id C GRFNLN : length of filename C GRTYPE : device type C GRXMXA : x size of plotting surface C GRYMXA : y size of plotting surface C GRXMIN : blc of plotting window C GRYMIN : ditto C GRXMAX : trc of plotting window C GRYMAX : ditto C GRSTYL : line style (integer code) C GRWIDT : line width (integer code) C GRCCOL : current color index (integer code) C GRCMRK : marker number C GRXPRE : previous (current) pen position (x) C GRYPRE : ditto (y) C GRXORG : transformation variables (GRTRAN) C GRYORG : ditto C GRXSCL : ditto C GRYSCL : ditto C GRCSCL : character scaling factor C GRCFAC : C GRCFNT : character font C GRFILE : file name (character) C GRPXPI : pixels per inch in x C GRPYPI : pixels per inch in y C INTEGER GRCIDE, GRCTYP, GRGTYP LOGICAL GRPLTD(GRIMAX), GRDASH(GRIMAX) INTEGER GRSTAT(GRIMAX) INTEGER GRUNIT(GRIMAX), GRFNLN(GRIMAX), GRTYPE(GRIMAX), 1 GRXMXA(GRIMAX), GRYMXA(GRIMAX), GRXMIN(GRIMAX), 2 GRYMIN(GRIMAX), GRXMAX(GRIMAX), GRYMAX(GRIMAX), 3 GRSTYL(GRIMAX), GRWIDT(GRIMAX), GRCCOL(GRIMAX), 4 GRCMRK(GRIMAX), GRIPAT(GRIMAX), GRCFNT(GRIMAX) REAL GRXPRE(GRIMAX), GRYPRE(GRIMAX), GRXORG(GRIMAX), 1 GRYORG(GRIMAX), GRXSCL(GRIMAX), GRYSCL(GRIMAX), 2 GRCSCL(GRIMAX), GRCFAC(GRIMAX), GRPOFF(GRIMAX), 3 GRPATN(GRIMAX,8),GRPXPI(GRIMAX),GRPYPI(GRIMAX) COMMON /GRCM00/ GRCIDE, GRCTYP, GRGTYP, GRSTAT, GRPLTD, GRUNIT, 1 GRFNLN, GRTYPE, GRXMXA, GRYMXA, GRXMIN, GRYMIN, 2 GRXMAX, GRYMAX, GRWIDT, GRCCOL, GRSTYL, 3 GRXPRE, GRYPRE, GRXORG, GRYORG, GRXSCL, GRYSCL, 4 GRCSCL, GRCFAC, GRDASH, GRPATN, GRPOFF, 5 GRIPAT, GRCFNT, GRCMRK, GRPXPI, GRPYPI C CHARACTER*(GRFNMX) GRFILE(GRIMAX) COMMON /GRCM01/ GRFILE C-----------------------------------------------------------------------