[pstricks] eofill and hatches

Herbert Voss Herbert.Voss at fu-berlin.de
Mon Aug 2 21:15:02 CEST 2021



Am 31.07.21 um 19:07 schrieb patrick fradin:
> Hi,
>
> When I try this code :
>
> \begin{pspicture}(-5.5,-5.5)(5.5,5.5)%
>
> \psset{fillstyle=hlines,addfillstyle=eofill}%


Choose _one_ polygon and not two:

\documentclass{article}
\usepackage{pstricks}
\begin{document}

\begin{pspicture}[showgrid=true](-3,-3)(5,3)%
\pspolygon[fillstyle=hlines](2,1)(2,-1)(2,-2)(-2,-2)(-2,2)(2,2)(2,1)%
                             (-1,1)(-1,-1)(4,-1)(4,1)
\end{pspicture}

\end{document}


Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2021-08-02 um 21.14.32.png
Type: image/png
Size: 63917 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20210802/1117164a/attachment-0001.png>


More information about the PSTricks mailing list.