thank you very much for any assistance,
andreas schneider
andreas schneider
tokyo 158
setagaya ku
okusawa 2.42.3
>i am looking for advice on how to define custom postscript strokes in
>freehand for drawing maps etc.
You will find much helpful advice in Olav Martin Kvern's excellent books
REAL WORLD FREEHAND 3 and REAL WORLD FREEHAND 4.
A custom line pattern that I often use is the "line with crossties (the
British say sleepers)" used on North American maps to represent railroad
tracks. Essentially this is a dashed line with duplicate continuous line
on top. For that, the custom PostScript code is
gsave [0.2 8] 0 setdash 3 setlinewidth 0 setgray stroke grestore
gsave 0.5 setlinewidth 0 setgray stroke grestore newpath
What the parameters mean (all measurements in points): 0.2 is length of
ties (dashes); 8 is distance between them. 3 is their width. 0.5 is the
width of the continuous line.
Examining the code, you can see how it breaks into two different lines at
the second "gsave" (but type it all continuously in the dialog box, with no
returns). The value 0 before the operator setgray sets the screen value to
100% (black or whatever). To make it a 30% gray line, make this value .7
(note the decimal value).
Ole helped me develop this custom line. Hope it helps you get started
experimenting.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Dennis McClendon, Chicago CartoGraphics dm...@uhuru.uchicago.edu