Is there a way to draw a TikZ path reversed?
I am trying to create some code that generates tessellating figures (to be used in How do we Draw a Bird in LaTeX).
Here is what I got:
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\def\x{2}
\def\y{4}
\def\mypath{(0,0) -- (1,1) -- (\x,0) -- (\x,\y)}
\draw \mypath;
\draw[shift={(\x,\y)}, rotate=180, blue] \mypath;
\end{tikzpicture}
\end{document}
It generates this:
But what I wanted is this:
. So it is obviously not correct to rotate the path. I need to break it into two an draw it reversed.



signal. Check the manual page 439. – percusse Mar 17 '12 at 23:43