# [pstricks] Strange behaviour \ncline & fillstyle

Wed Oct 9 10:15:03 CEST 2002

Hi,

I've encountered a strange interaction between \ncline and fillstyle in the
example below

\documentclass{article}
\usepackage{pst-node}
\begin{document}
\begin{pspicture}(3,3)
\pnode(0,0){A}
\pnode(3,3){B}
\psset{fillstyle=solid,fillcolor=black}
\ncline[linestyle=none]{A}{B}
\end{pspicture}

\begin{pspicture}(3,3)
\pnode(0,0){A}
\pnode(3,3){B}
\psset{fillstyle=solid,fillcolor=black}
\ncline[linestyle=none,fillstyle=none]{A}{B}
\end{pspicture}
\end{document}

In the first example, a "shadow" line is drawn between node A and node B
where no line should be drawn (linestyle=none). Why does the fillstyle
parameter affect the drawing of a line ? Is it a bug ?

I've solved the problem adding fillstyle=none to \ncline like in the second
example, but is there a better solution ?