🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2350

Re: How to draw an "outline line"

#2350
From: Woodrow Baker
Date: Sun, 10 Jun 1990 06:32
17 lines
998 bytes
In article <28029@eagle.wesleyan.edu>, hoberoi@eagle.wesleyan.edu writes:
> Hi
> 	is there a way of generating "outline lines" like the outline
> fonts ? I could do that by drawing two lines shifted by a "width" but it
> seems sotra crude. 
> 

Try this:
	Create your path.  
	Set the linewidth to the total width
	that your want your 2 lines to occupy
	Set the color to black, do a gsave, then stroke
	your path.  Then do a grestore, change the color to
	white, change the linewidth to a smaller value, and then
	stroke it again.
Cheers
Woody
Technical Details
Message-ID: <1318@chinacat.Unicom.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!asuvax!cs.utexas.edu!texbell!chinacat!woody
References: <28029@eagle.wesleyan.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!asuvax!cs.utexas.edu!texbell!chinacat!woody
From: woody@chinacat.Unicom.COM (Woodrow Baker)
Newsgroups: comp.lang.postscript
Subject: Re: How to draw an "outline line"
Summary: simple way
Message-ID: <1318@chinacat.Unicom.COM>
Date: 10 Jun 90 06:32:34 GMT
References: <28029@eagle.wesleyan.edu>
Organization: a guest of Unicom Systems Development, Austin
Lines: 17