summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-06-17 23:22:38 +0000
committerKarl Berry <karl@freefriends.org>2007-06-17 23:22:38 +0000
commit5c5c7843fbd37c6960799b6e1a32d5948966316c (patch)
treeea73f6b5ba799656992ebe2f34beccd2555f1342 /Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex
parentf0c1f4cdb9fad83f293fd91d194538425f9f7633 (diff)
pgf 1.18 (15jun07)
git-svn-id: svn://tug.org/texlive/trunk@4459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex23
1 files changed, 22 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex
index 82a99bbd4b1..0ff34448609 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-transformations.tex
@@ -225,6 +225,26 @@ singular (if you do not know what singular matrices are, you are blessed).
\end{tikzpicture}
\end{codeexample}
+ \itemoption{shift only}
+ This option does not take any parameter. Its effect is to cancel all
+ current transformations except for the shifting. This means that the
+ origin will remain where it is, but any rotation around the origin
+ or scaling relative to the origin or skewing will no longer have an
+ effect.
+
+ This option is useful in situtations where a complicated
+ transformation is used to ``get to a position,'' but you then wish
+ to draw something ``normal'' at this position.
+
+\begin{codeexample}[]
+\begin{tikzpicture}
+ \draw[style=help lines] (0,0) grid (3,2);
+ \draw (0,0) -- (1,1) -- (1,0);
+ \draw[rotate=30,xshift=2cm,blue] (0,0) -- (1,1) -- (1,0);
+ \draw[rotate=30,xshift=2cm,shift only,red] (0,0) -- (1,1) -- (1,0);
+\end{tikzpicture}
+\end{codeexample}
+
\itemoption{xshift}|=|\meta{dimension}
adds \meta{dimension} to the $x$ value of all coordinates.
\begin{codeexample}[]
@@ -334,7 +354,8 @@ singular (if you do not know what singular matrices are, you are blessed).
completely resets the coordinate transformation matrix to the
identity matrix. This will destroy not only the transformations
applied in the current scope, but also all transformations inherited
- from surrounding scopes. Do not use this option.
+ from surrounding scopes. Do not use this option, unless you really,
+ really know what you are doing.
\end{itemize}