[pstricks] The psbezier anomaly within pscustom
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Fri Aug 27 17:33:47 CEST 2010
Am 27.08.2010 17:11, schrieb Herbert Voss:
> which redefines \psbezier with the old code. On the other hand it
> should be possible to create an optional argument "noCurrentPoint"
> for pscustom, if it may be useful for your needs.
with this version of pstricks.tex
http://archiv.dante.de/~herbert/PSTricks-TDS/tex/generic/pstricks/
you can say globally \psset{noCurrentPoint=false}. Then your
example runs in the old way:
\documentclass{article}
\usepackage{pstricks}
\psset{noCurrentPoint}
\pagestyle{empty}
\begin{document}
\psset{unit=1in,cornersize=absolute,dimen=middle}
\begin{pspicture}(0,0)(0.75,0.5)%
\pscustom[fillstyle=solid,linecolor=black,fillcolor=lightgray]{
\psline(0,0)(0,0.5)(0,0.5)(0.5,0.5)
\psbezier(0.5,0.5)(0.625,0.5)(0.75,0.375)(0.75,0.25)
\psline(0.75,0.25)(0.75,0)(0.75,0)(0,0)
}
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list