# [pstricks] fill and arrow heads

Hendrik Hoeth hendrik.hoeth at cern.ch
Sat Dec 1 08:52:45 CET 2007

Hi,

is it on purpose that the fill color is drawn on top of arrow heads, as
in this example?

\documentclass{article}
\usepackage{pstricks}
\begin{document}
\psset{unit=5cm,linewidth=2mm}
\begin{pspicture}(-1,-1)(1,1)%
\def\curve{\pscurve{c-c}(-.1,.1)(-.15,.15)(0,.2)(.15,.15)(.1,.1)}
\rput(0,.2){\curve}
\rput(0,-.2){%
\psset{fillstyle=solid,fillcolor=blue}
\curve
}
\end{pspicture}
\end{document}

Currently I fix it by drawing the line twice -- first with and then
without filling. But I'm wondering if this is a bug or a feature?

Cheers,

Hendrik

--
Those who give up essential liberties for temporary safety
deserve neither liberty nor safety.   -- Benjamin Franklin