close a path for multiple curves
Hi (first time poster, user of PS approx 1 year)
I'm trying to create multiple irregular shapes and Ive found that the best way to get the shape that I want is to use the 'curveto' command. If I try to create the shape using just one curveto, the junction where the two ends meet is unnaturally pointed for what i want to create (sub-rounded stones in the bottom of a river)
Ive figured that by using two or three curveto lines and join them together, i can get the shape I want. However I cannot figure out the best way to 'fill' this multi-curveto shape with a desired color.
Is there a way to closepath on several different lines? Here is a sample of one of my shapes....
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%---Draw a irregular rock #4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/Rock#4
{
newpath
12 cm 15 cm moveto
10 cm 0 cm
16 cm 5 cm
19 cm 7 cm curveto
0 0 0 setrgbcolor
1 setlinewidth
%.2 setgray
stroke
newpath
12 cm 15 cm moveto
12 cm 15 cm
14 cm 25 cm
17 cm 25 cm
19 cm 18 cm curveto
0 0 0 setrgbcolor
1 setlinewidth
%.2 setgray
stroke
newpath
19 cm 18 cm moveto
12 cm 15 cm
16 cm 14 cm
20 cm 8 cm
19 cm 7 cm curveto
0 0 0 setrgbcolor
1 setlinewidth
%.2 setgray
stroke
} def


