[pstricks] Trouble with \pssin inside clipping path

Uwe Siart uwe.siart at tum.de
Sat May 9 12:13:45 CEST 2015


On 9 May 2015 at 11:54, Uwe Siart wrote:

> does anyone understand what is going wrong here? I tried to create a
> clipping path using \pscustom. When the path includes \pssin then the
> coordinates seem to be screwed up for subsequent objects.
> 
> Replacing \pssin by \psline would give expected results.

Update: It's not about \psclip, it happens with \pscustom only:

\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-coil}
\begin{document}
\begin{pspicture}[showgrid=true](0,-4)(8,4)
  \pscustom[linewidth=1pt]{%
    \psline(0, 2)(4,4)%
    \pssin(4,4)(8,4)%
    \psline(8,4)(8,-4)%
  \closepath}%
\end{pspicture}
\end{document}

-- 
Uwe



More information about the PSTricks mailing list