🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #406

Re: Different line ends/segment ends on dashed line?

#406
From: Scott Willingham
Date: Tue, 07 Apr 1992 19:24
51 lines
1539 bytes
In article <2440@voodoo.UUCP> das@voodoo.boeing.com (Deb Schwartz) writes:
>
>I have a need to print dashed lines where the ends of the lines are rounded
>but the individual dashed segment ends are square (hope this illustration
>is understandable):
>
>           .............  ............  ............. 
>          .            .  .          .  .            .   <-- rounded ends 
>          .            .  .          .  .            .  
>	   .............  ............  .............
>
>                        ^^
>			square segments
>
>
>Setlinecap sets all the line ends (both outside ends and segment ends) to be
>the same:  all rounded or all square.  Does anyone know an easy (or not-so-easy)
>way to accomplish what I want to do?
>
>Thanks,
>
>-- 
>Debbie Schwartz // das@voodoo.boeing.com  // or uunet!bcstec!voodoo!das 


I would just draw the line segment with square ends and then go to each
endpoint and draw small circles of the proper radius.

-- Scott Willingham // willing@icsl.ucla.edu
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
Technical Details
Message-ID: <6615@lee.SEAS.UCLA.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!ucla-cs!ucla-se!pantheon!willing
References: <2440@voodoo.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!ucla-cs!ucla-se!pantheon!willing
From: willing@pantheon.icsl.ucla.edu (Scott Willingham)
Newsgroups: comp.lang.postscript
Subject: Re: Different line ends/segment ends on dashed line?
Message-ID: <6615@lee.SEAS.UCLA.EDU>
Date: 7 Apr 92 19:24:54 GMT
References: <2440@voodoo.UUCP>
Sender: news@SEAS.UCLA.EDU
Organization: University of California at Los Angeles, EE Dept.
Lines: 51