Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!feed.xsnews.nl!border-1.ams.xsnews.nl!feeder.xennanews.com!nf38.xennanews.com!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.postscript Subject: Re: shfil Organization: Decebal Computing References: <87vcdcl9dg.fsf@Compaq.site.inet> <705855b4-e077-47fc-a9a6-01d848283e00@googlegroups.com> X-Homepage: http://www.decebal.nl/ Date: Tue, 13 Nov 2012 17:56:27 +0100 Message-ID: <878va5jvb8.fsf@Compaq.site.inet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:5agf1TuQDpK84qAXxDTaG//+wsY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@xennanews.com Lines: 35 NNTP-Posting-Host: 84.53.123.169 (84.53.123.169) NNTP-Posting-Date: Tue, 13 Nov 2012 17:59:12 +0100 Xref: csiph.com comp.lang.postscript:1041 Op dinsdag 13 nov 2012 16:50 CET schreef abeddie@hotmail.com: >> I found the shfill command with I can create gradients. Is there a good >> >> resource to get started? I could not find something that explains and show the >> >> things in layman's terms. >> > > %! > 100 400 300 200 rectclip > << > /ShadingType 2 > /ColorSpace [ /DeviceRGB ] > /Coords [100 400 400 600 ] > /Function > << > /FunctionType 2 > /Domain [ 0 1 ] > /C0 [ 1 0 0 ] > /C1 [ .5 1 .5 ] > /N 1 >>> >>> > shfill > showpage That is exactly what I found and use. But there should be more functions (otherwise FunctionType would be redundant). I would like an explanation about those, but I can not find it. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof