%%
%%  A DANTE-Edition example
%%
%%  Example 36-00-22 on page 777.
%%
%%  Copyright (C) 2011 Herbert Voss
%%
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%%
%%  See http://www.latex-project.org/lppl.txt for details.
%%
%%
%% ====
% Show page(s) 1
%%
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{201.70511pt}
\setlength\parindent{0pt}

\usepackage{pstricks}

\begin{document}
\begin{pspicture}[showgrid](8,4)
 \psset{linewidth=1.5pt,showpoints}
 \psccurve*[linecolor=yellow,
 fillstyle=eofill](0,1)(1,3)(2,1)(6,3)(2,3.5)(1,1)
 \psccurve[linecolor=blue](0,1)(1,3)(2,1)(6,3)(2,3.5)(1,1)
 \psccurve[linecolor=red,fillcolor=blue,fillstyle=solid,opacity=0.5](4,0.5)(5,1)(6,0)(8,3)
\end{pspicture}
\end{document}