[pstricks] Anomalous behavior of PSTricks fills
Herbert.Voss at FU-Berlin.DE
Fri Jan 30 10:01:02 CET 2009
Dwight Aplevich schrieb:
> I've been having occasional problems with fills as illustrated by
> the appended file, which is intended to fill a simple area
> bounded by two lines and a spline. The drawing sequence is
> counter-clockwise, starting and ending at the upper left.
> When the file is processed by LaTeX and dvips, and
> the result viewed by GSview, an extraneous line is drawn from
> the lower left corner to the PSTricks origin. This seems to happen
> only when the area is filled and bounded by one or more splines.
> The effect also seems to depend on the Postscript
> engine. For example, it has happened that the extra lines are not
> visible using GSview, but show up when the same Postscript figure
> is printed by a publisher. Sometimes the extra lines result in an
> extra filled region.
inside of pscustom \psbezier takes only three arguments when it
follows another curve. The end of the preceeding line is always
the starting point for the next one. However, you should use
\closepath as last command to close the path with linejoin=1.
psbezier takes (1,1) from the preceeding line as starting point
Now psbezier as starting curve with 4 arguments
More information about the PSTricks