[pstricks] Bezier curve
Poul Riis
Poul.Riis at skolekom.dk
Fri Apr 3 23:47:23 CEST 2015
Graphics with PSTricks <pstricks at tug.org> writes:
>\psbcurve cannot handle special coordinates
What does special coordinates mean? Postscript coordinates?
This does indeed work:
\documentclass{minimal}
\usepackage[dvips,x11names]{xcolor}
\usepackage{pstricks}
\usepackage{pst-bezier}
\begin{document}
\pstVerb{/hf 7 def /bf 3 def /bl 0.5 def }
\begin{pspicture}(-0.5,-0.5)(3.5,5.0)
\psline[linestyle=dashed,linewidth=0.25pt](!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}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20150403/de89a5e9/attachment.html>
More information about the PSTricks
mailing list