[pstricks] psbezier

Herbert Voss LaTeX at zedat.fu-berlin.de
Sun May 6 21:58:23 CEST 2007


de Jager F wrote:
> \documentclass{article}
> \usepackage{pst-all}
> \begin{document}
> \psset{unit=1 mm}
> \begin{pspicture}(0,0)(100,100)
> \pscustom[]{\psbezier(20,90)(27,41)(40,18)(65,15)\psbezier(65,15)
> (89,11)(100,10)(100,10)}
> \end{pspicture}
> \end{document}
>   
inside \pscustom the following bezier curves have only three
pairs of values, the first one is taken from the forgoing
curve.

\documentclass{minimal}
\usepackage{pstricks}

\begin{document}

\psset{unit=1 mm}
with pscustom:

\begin{pspicture}(0,0)(100,100)
  \pscustom[]{%
    \psbezier(20,90)(27,41)(40,18)(65,15)
    \psbezier(89,11)(100,10)(100,10)}
\end{pspicture}

\clearpage
without pscustom

\begin{pspicture}(0,0)(100,100)
  \psbezier(20,90)(27,41)(40,18)(65,15)
  \psbezier(65,15)(89,11)(100,10)(100,10)
\end{pspicture}

\end{document}

Herbert



More information about the PSTricks mailing list