[pstricks] eofill and hatches
patrick fradin
patrick.fradin at gmail.com
Sat Jul 31 19:07:16 CEST 2021
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 --------------
A non-text attachment was scrubbed...
Name: WrongResult.png
Type: image/png
Size: 3315 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210731/ed01a6c0/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExpectedResult.png
Type: image/png
Size: 25435 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210731/ed01a6c0/attachment-0003.png>
More information about the PSTricks
mailing list.