Article View: adobe.postscript.programming
Article #52Re: stroke and fill
From: Jeffrey H. Coffield
Date: Thu, 24 Jul 2008 15:03
Date: Thu, 24 Jul 2008 15:03
33 lines
2048 bytes
2048 bytes
David_Cristian@adobeforums.com wrote: > I have another question. > > I tried to draw a line with the following color: > > 200 143 120 setrgbcolor > > and it doesn't seem to work > > if i change only that line like: > > 255 0 0 setrgbcolor > > it draws a red line. > What am I doing wrong? > > David Postscript Language Reference, Third Edition, page 681: setrgbcolor ... Each component must be a number in the rage 0.0 to 1.0. If any of the operands is outside this range, the nearest valid value is substituted without error indication. If you are going to be programming in Postscript, this reference book is essential. Jeff Coffield www.digitalsynergyinc.com
Technical Details
Message-ID:
<ES0ik.5694$np7.4459@flpi149.ffdc.sbc.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!flpi089.ffdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi149.ffdc.sbc.com.POSTED!cbb6f965!not-for-mailReferences:
<59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.5@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,59978ad8602309c9 X-Google-Attributes: gid10c61a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!flpi089.ffdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi149.ffdc.sbc.com.POSTED!cbb6f965!not-for-mail From: "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 Newsgroups: adobe.postscript.programming Subject: Re: stroke and fill References: <59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.5@webcrossing.la2eafNXanI> In-Reply-To: <59b5e90e.5@webcrossing.la2eafNXanI> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 33 Message-ID: <ES0ik.5694$np7.4459@flpi149.ffdc.sbc.com> NNTP-Posting-Host: 216.103.32.162 X-Complaints-To: abuse@prodigy.net X-Trace: flpi149.ffdc.sbc.com 1216911908 ST000 216.103.32.162 (Thu, 24 Jul 2008 11:05:08 EDT) NNTP-Posting-Date: Thu, 24 Jul 2008 11:05:08 EDT Organization: at&t http://my.att.net/ X-UserInfo1: Q[RGW_[DSRWARTXXJBCD^VX@WB]^PCPDLXUNNHLHQAVTUZ]CLNTCPFK[WDXDHV[K^FCGJCJLPF_D_NCC@FUG^Q\DINVAXSLIFXYJSSCCALP@PB@\OS@BITWAH\CQZKJMMD^SJA^NXA\GVLSRBD^M_NW_F[YLVTWIGAXAQBOATKBBQRXECDFDMQ\DZFUE@\JM Date: Thu, 24 Jul 2008 08:03:47 -0700