00001 00002 c 00003 c Copyright (c) 1986,1987,1988,1989,1990,1991,1992,1993, 00004 c by Steve McMillan, Drexel University, Philadelphia, PA. 00005 c 00006 c All rights reserved. 00007 c 00008 c Redistribution and use in source and binary forms are permitted 00009 c provided that the above copyright notice and this paragraph are 00010 c duplicated in all such forms and that any documentation, 00011 c advertising materials, and other materials related to such 00012 c distribution and use acknowledge that the software was developed 00013 c by the author named above. 00014 c 00015 c THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 00016 c IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 00017 c WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00018 c 00019 c 00020 c 00021 subroutine pensize(nx,ny) 00022 save 00023 c 00024 c Establish Versaterm pen size as an (nx by ny)-pixel rectangle. 00025 c 00026 character*80 device 00027 common /plot device/ device,aspect,idev 00028 character*1 ctrl(0:31), 00029 + null,ctrla,tab,lf,ff,cr,ctrlx,ctrlz,esc,gs,del 00030 common /ctrlch/ ctrl, 00031 + null,ctrla,tab,lf,ff,cr,ctrlx,ctrlz,esc,gs,del 00032 c 00033 if(idev.ne.7.and.idev.ne.8.and.idev.ne.11 00034 + .and.idev.ne.12)return 00035 if(nx.eq.1.and.ny.eq.1)then 00036 call output char(cr) 00037 return 00038 end if 00039 call pixel(nx,ny,3) 00040 call output char(esc) 00041 if(idev.eq.11.or.idev.eq.12)then 00042 call output char('p') ! thank you, Mr. Abelbeck! 00043 else 00044 call output char('i') 00045 end if 00046 end