[GRASS-dev] ps.map: diag_up.eps pattern improve

ejtizado at ono.com ejtizado at ono.com
Wed Feb 4 10:22:40 EST 2009


Hi all,

This a improved version of diag_up.eps

%!PS-Adobe-2.0 EPSF-1.2
%%BoundingBox: 0 0 10 10
newpath
0 0 moveto
10 10 lineto
9 -1 moveto
11 1 lineto
-1 9 moveto
1 11 lineto
stroke


because postscript clip with into the boundingbox limit the outside parts are 
not stroke but this eps make a full diagonal up line.

Only a question, the diagonal line width is sqrt(2), 
a scale of 1/sqrt(2) = 0.71 make the width of the line similar a any 
horizontal line of width of 1.

E. Jorge Tizado



Similar is the full diagonal down line (and other diagonal pattern)

%!PS-Adobe-2.0 EPSF-1.2
%%BoundingBox: 0 0 10 10
newpath
0 10 moveto
10 0 lineto
-1 1 moveto
1 -1 lineto
9 11 moveto
11 9 lineto
stroke



More information about the grass-dev mailing list