|
From: Harald H. <h.h...@tu...> - 2005-11-12 23:07:48
|
On Sat, 12 Nov 2005, Daniel J Sebald wrote:
> Oh, I see what you are saying. (Got to explain a bit more.) The text
> clips, but not the lines. Yeah.
Exactly.
> > If the line and the filled-path code supports correct clipping and the
> > original arrow code uses these clipped lines and filled paths,
> > parly clipping of arrow heads will be supported by every terminal.
>
> OK, here we get into a philosophical debate. If you have a full-featured
> resource like PostScript, shouldn't you allow the arrows to extend past the
> edge and let PostScript do the clipping? I can imagine some users who don't
> do things exactly right, but then can correct matters with an offset in
> there word processor or whatever. Someone shifts their EPS file into view
> and lo-and-behold, the arrow or line is cropped in a funny way. [Not too
> much different than the example you've shown for PNG.]
You are right. Gnuplot should not do any clipping for postscript, and the
terminal itself could add the postscript clipping on demand:
%%BoundingBox 50 50 350 250
[...]
/Clipping false def
gsave
Clipping {
newpath
moveto 50 50
lineto 350 50
lineto 350 250
lineto 50 250
closepath
clip
} if
[... all the rest of the file ...]
grestore
%%Trailer
Best regards
Harald
--
Harald Harders
h.h...@tu...
http://www.harald-harders.de
|