[pstricks] oefill and oeclip

Donut E. Knot the.counterterrorist at yahoo.com
Thu Jan 16 21:12:20 CET 2014


Dear Folks,

I want to report some issues about "oefill" (the complement of "eofill").
	* `oefill` cannot produce transparent region while `eofill` can,
	* `oefill` produces unwanted white space,
	* `oeclip` cannot be used as a clipping path because `oeclip` does not exist.
Here is the minimal working example to show 

\documentclass[pstricks,border=12pt]{standalone}
\def\common{%
\pscircle(2,2){2}
\moveto(3.75,2.25)
\pscircle(2.75,2.25){1}
\moveto(1.25,2.5)
\pscircle(0.75,2.5){0.5}
\moveto(2,1)
\pscircle(1.5,1){0.5}
\ignorespaces
}
\begin{document}
% eofill works
\begin{pspicture}[showgrid](4,4)
\pscustom[fillstyle=eofill,fillcolor=red]{\common}
\end{pspicture}
% eoclip works
\begin{pspicture}[showgrid](4,4)
\psclip{\pscustom{\code{/clip /eoclip load def}\common}}
\psframe*[linecolor=blue](4,4)
\endpsclip
\end{pspicture}
% oefill works but it cannot produce transparent region
% it also produces unwanted whitespaces (the graphics objects get displaced to the right)
\begin{pspicture}[showgrid](4,4)
\pscustom[fillstyle=oefill,fillcolor=red]{\common}
\end{pspicture}
% oeclip does not work because oeclip does not exist
%\begin{pspicture}[showgrid](4,4)
%\psclip{\pscustom{\code{/clip /oeclip load def}\common}}
%\psframe*[linecolor=blue](4,4)
%\endpsclip
%\end{pspicture}
\end{document}


Thank you in advance.

Best regards,

Code Mocker

http://tex.stackexchange.com/users/19356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140116/859a8dcd/attachment.html>


More information about the PSTricks mailing list