[pstricks] Bezier curve

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Apr 3 20:25:53 CEST 2015


Am 02.04.2015 um 09:42 schrieb Poul Riis:
> The project below works, but if I replace pscurve with psbcurve I get
> the following error message (even if an identical psbcurve command at
> the end of the figure works):
> Misplaced special graphics object command }
> Why?
>
> Poul Riis
>
>
> \documentclass{minimal}
> \usepackage[dvips,x11names]{xcolor}
> \usepackage{pstricks}
> \usepackage{pst-bezier}
>
> \begin{document}
> \pstVerb{/hf 5 def /bf 2.15 def /bl 0.5 def }
>          \begin{pspicture}(-0.5,-0.5)(3.5,5.0)
>          \pscustom*[linecolor=Red3,fillstyle=solid]{
>                  \pscurve(!bf 0)(!bf hf 2 div)(!0 hf)
>                  %\psbcurve(!bf 0)(!bf hf 2 div)(!0 hf)

\psbcurve cannot handle special coordinates

Herbert



>                  \psline(!0 hf)(!0 0)(!bf 0)
>          }
>          \psline[linestyle=dashed](!0 0)(!bl neg 0)(!bl neg hf)(!0 hf)
>          \psbcurve[linecolor=Blue1,linewidth=1pt](!bf 0)l(!bf hf 2
> div)(!0 hf)
>          \end{pspicture}
> \end{document}
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>



More information about the PSTricks mailing list