FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PostScript - Path with Different Colour Stroke & Fill





ninjakannon
I can't work out how to give a single path different a coloured stroke and fill.

I've written something similar to the following, but it obviously doesn't work:

Code:

newpath
some drawing
closepath
1 1 1 setrgbcolor
fill
0 0 0 setrgbcolor
2 setlinewidth
stroke


The fill is drawn, but I can't tell whether the stroke has been as well; either it's in the same colour and is drawn, or is not drawn at all.

It must be possible to use different colours for stroke and fill, so how do I do it?

Thanks for any help on this!
Related topics
[man]Photoshop: Tutos en español.
Free-Magazine, UK and World Indie and Punk
Free Web Based Time Tracker & Logbook
Rank images contest
How to make DVD's with Menu's using NeroVision
copy-controlling your website
Photo Shop tutorial: Trendy Lines
Textareas and Javascript
Default Avatar 100x100px FRIH$100
Long hair bands,now theres rock & roll
Studio 64-DJ's Graphic Shop
Hello 2 all from Israel!
Free Forums?
UT2004 U like the game? Do u have any question post here.
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.