🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
2 messages
2 total messages Started by johnathan Thu, 11 Dec 2008 20:10
help with drawing a wedge in postscript?
#137
Author: johnathan
Date: Thu, 11 Dec 2008 20:10
7 lines
803 bytes
I'm using postscript for the first time and need to draw a simple wedge shape.

I will be using this wedge to translate and rotate and create a hazard symbol.

how do i draw a wedge?

thanks
Re: help with drawing a wedge in postscript?
#138
Author: Jeffrey H. Coffield
Date: Thu, 11 Dec 2008 23:45
25 lines
1915 bytes

johnathan@adobeforums.com wrote:
> I'm using postscript for the first time and need to draw a simple wedge shape.
> 
> I will be using this wedge to translate and rotate and create a hazard symbol.
> 
> how do i draw a wedge?
> 
> thanks
100 100 translate

newpath
 0 0 moveto
 0 0 100 0 45 arc
 closepath
 stroke

 showpage

Slight modification of the example on page 531 of the Postscript
Language Reference Manual, Third edition.

Jeff Coffield
www.digitalsynergyinc.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads