Closed JoniBue1 closed 5 months ago
Thanks for the report!
This is the typical TikZ behaviour:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[scale=0.4, xshift=30pt] circle [radius=3mm];
\draw[scale=2, xshift=30pt] circle [radius=3mm];
\end{tikzpicture}
\end{document}
... so I consider this status by design.
If you want to shift them by the same amount, you could use
\documentclass{standalone}
\usepackage{tikzducks}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\duck[xshift=30pt,scale=0.4]
\duck[xshift=30pt,scale=2]
\end{tikzpicture}
\end{document}
Coordinate transformations in TikZ are applied incrementally, thus the order matters.
Rather, all you can do is to “add” another transformation to the current matrix. https://tikz.dev/tikz-transformations#sec-25.3
Hello there, I don't know if it is wanted like this but the scale option scales also the x and y shift. I've got a MWE :
When you comile this you can see, that the big duck is shifted from the little one, as it should be at the same shift.