Path: utzoo!yunexus!geac!sq!murray From: murray@sq.sq.com (Murray Maloney) Newsgroups: comp.text Subject: Re: Shaded Boxes in PIC Message-ID: <1989Nov16.212742.7067@sq.sq.com> Date: 16 Nov 89 21:27:42 GMT Article-I.D.: sq.1989Nov16.212742.7067 References: <546@dcdwest.UUCP> <127725@sun.Eng.Sun.COM> <309@opel.uu.net> Reply-To: murray@sq.com (Murray Maloney) Organization: SoftQuad Inc., Toronto Lines: 29 In article <309@opel.uu.net> johnk@opel.UUCP (John Kennedy) writes: >The facts as I understand them: >1) Pic generates input to troff, according to troff's input language. >2) Troff generates a device-independent output. >3) Various filters take the troff output and generate device-specific codes. >Therefore, > It is possible for pic drawings to appear on a PostScript printer. >However, > Features of PostScript, such as shading are not in the repertoire > of what troff handles, and thus, no output of pic can instruct > troff to generate the appropriate output. >-- >John Kennedy johnk@opel.uu.uunet >Second Source, Inc. >Annapolis, MD Features such as pattern-filling of closed objects (boxes, circles, ellipses) and grey-scaling are in the repertoire of sqtroff. So, there is a way for pic (or sqpic) to generate the appropriate output. Fill patterns are enabled and selected with \D'f N' -- where `N' represents a standard pattern on the imaging device (0=no pattern, 1=solid, ...). The level of grey scale is specified with \D'w N' -- where `N' ranges from 0 (black) to 1 (white). Using these in combination boxes can be shaded most any way that you would like. ******************************************************************************** Murray C. Maloney uucp: {utai|utzoo|uunet}!sq!murray Documentation Specialist Internet: murray@sq.com SoftQuad Inc. Phone: (416) 963-8337