With the code
\documentclass[tikz,convert={size=640}]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{calc}
\usetikzlibrary{quotes}
\begin{document}
\begin{tikzpicture}[
rect/.style={rectangle},
sum/.style={draw,circle,minimum width=0.2cm,minimum height=0.2cm},
dot/.style={fill,circle,inner sep=1pt,outer sep=0pt},
pics/lowpass/.style args={#1 and #2}{
code={
\node[sum,"-45:-"] (-in) {};
\node[rect,right=0.3cm of -in] (-gain) {#1};
\node[sum,right=0.3cm of -gain] (-sum) {};
\node[dot,right=1.25cm of -sum] (-out) {};
\node[rect,below=0.5cm of $(-sum)!0.5!(-out)$,
"left:#2"{font=\scriptsize,yshift=-0.25cm}] (-int) {$z^{-1}$};
\draw[-latex] (-in) -- (-gain);
\draw[-latex] (-gain) -- (-sum);
\draw (-sum) -- (-out);
\draw[-latex] (-out) |- (-int);
\draw[-latex] (-int) -| (-in);
\draw[-latex] (-sum |- -int) node[xshift=-1.5pt,dot] {} -- (-sum) ;
}
}
]
\pic (lowpass1) at (0,0) {lowpass=$k_e$ and $x_1(k)$};
\pic[right=1cm of lowpass1-out] (lowpass2) {lowpass=$k_c$ and $x_2(k)$};
\end{tikzpicture}
\end{document}
I produce this image
Depending on absolute and relative position the lower centered dot is shifted by 1.5pt. How can I avoid this behaviour and what is the reference point when I use relative positioning with \pic?


