Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1018
| From | Don Lancaster <don@tinaja.com> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: execform, 75% faded |
| Date | 2012-10-23 08:45 -0700 |
| Message-ID | <aensbjFg7hhU1@mid.individual.net> (permalink) |
| References | <1390895d-c740-4357-9ad1-c5a506fce680@googlegroups.com> |
On 7/30/2012 1:57 AM, jdaw1 wrote: > A large PostScript program repeatedly calls execform. The code that is used to generate the execform isn’t always completely known to the calling code, as it in turn calls bits of code supplied by the user as parameters. > > I want to call this form one more time, but to be painted faded, such that black is painted as about 25% grey, and greys likewise faded. If PostScript supported transparency, I’d set 75% transparent and that would be that. But, IIRC, not even pdfmark can do that. (And output is to PDF rather than directly to paper, so using pdfmark would be OK.) > > Another possibility, rather nasty, would be to compute the bounding box, loop over its x and y sizes and repeatedly overpaint with … moveto … lineto 1 setgray 0.24 setlinewidth stroke. The step size could be the same as the line width. (Perhaps rotated 45°? Perhaps the inner and outer loops shouldn’t be 90° apart — advice welcomed.) This would work, sort of, but is ugly, and could resonate badly with lines of similar angle. Yuck! > > Please, does anybody know better? > Of course. < http://www.tinaja.com/glib/pstrans2.pdf > -- Many thanks, Don Lancaster voice phone: (928)428-4073 Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552 rss: http://www.tinaja.com/whtnu.xml email: don@tinaja.com Please visit my GURU's LAIR web site at http://www.tinaja.com
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-07-30 01:57 -0700
Re: execform, 75% faded luser- -droog <mijoryx@yahoo.com> - 2012-07-30 07:04 -0700
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-07-31 06:24 -0700
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-07-31 11:40 -0700
Re: execform, 75% faded luser- -droog <mijoryx@yahoo.com> - 2012-07-31 16:02 -0700
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 00:08 -0700
Re: execform, 75% faded jdawiseman.bloomberg@gmail.com - 2019-04-20 06:46 -0700
Re: execform, 75% faded jdawiseman.bloomberg@gmail.com - 2019-04-20 06:46 -0700
Re: execform, 75% faded Chris <cjl@spamcop.net> - 2012-08-01 07:40 +0000
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 01:02 -0700
Re: execform, 75% faded Chris <cjl@spamcop.net> - 2012-08-01 08:15 +0000
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 02:53 -0700
Re: execform, 75% faded ken <ken@spamcop.net> - 2012-08-01 12:56 +0100
Re: execform, 75% faded Chris <cjl@spamcop.net> - 2012-08-01 12:33 +0000
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 05:47 -0700
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 06:28 -0700
Re: execform, 75% faded Don Lancaster <don@tinaja.com> - 2012-10-23 08:45 -0700
Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2015-04-25 15:05 -0700
csiph-web