[pstricks] eofill and hatches

Hensh, Richard hensh at msu.edu
Sun Aug 1 11:31:02 CEST 2021


Try this code:

\begin{pspicture}(-5.5,-5.5)(5.5,5.5)%
%\psset{fillstyle=hlines,addfillstyle=eofill}%
\pscustom[fillstyle=hlines]{%
\psline(-2,-2)(2,-2)(2,2)(-2,2)%
\closepath%
\moveto(2,-1)
\psline(4,-1)(4,1)(2,1)%
\closepath
\psline[fillstyle=none](-1,-1)(-1,1)(2,1)
\closepath
}%
\end{pspicture}%

cheers
rick

________________________________
From: PSTricks <pstricks-bounces+hensh=math.msu.edu at tug.org> on behalf of patrick fradin <patrick.fradin at gmail.com>
Sent: Saturday, July 31, 2021 1:07 PM
To: pstricks at tug.org <pstricks at tug.org>
Subject: [pstricks] eofill and hatches

Hi,

When I try this code :

\begin{pspicture}(-5.5,-5.5)(5.5,5.5)%

\psset{fillstyle=hlines,addfillstyle=eofill}%

\pscustom{%

\psline(-2,-2)(2,-2)(2,2)(-2,2)%

\closepath%

\moveto(-1,-1)

\psline(4,-1)(4,1)(-1,1)%

\closepath}%

\end{pspicture}%

I've a wrong result (I've joined the expected result  too).

What should I modify ?

Thanks

P. Fradin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20210801/87c37869/attachment-0001.html>


More information about the PSTricks mailing list.