I'm trying to align two paths using polar coordinates:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\path [fill=blue] (0,0) -- +(-135:5mm) -- ([turn]90:25mm) -- ([turn]90:5mm) -- cycle;
\path [fill=red] (0,0) -- +(-135:5mm) -- ([turn]90: 5mm) -- ([turn]90:5mm) -- cycle;
\end{tikzpicture}
\end{document}
However, they are slightly misaligned:
(The picture below is cropped and zoomed in)
Am I missing, i.e. miscalculating something here?


[turn]e.g.\path [fill=blue] (0,0) -- ++(-135:5mm) -- ++(-45:25mm) -- ++(45:5mm) -- cycle;– hpekristiansen Feb 26 '19 at 15:38\begin{document}
\begin{tikzpicture} \path [fill=blue] (0,0) -- ++(-135:5mm) -- ++ (-45:25mm) -- ++ (45:5mm) -- cycle; \path [fill=red] (0,0) -- ++(-135:5mm) -- ++ (-45: 5mm) -- ++(45:5mm) -- cycle; \end{tikzpicture} \end{document}
– Feb 26 '19 at 15:38has no such problem. Rather, this might be due toturn`.turn. – barbaz Feb 26 '19 at 15:51