summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-10-15 22:37:32 +0000
committerKarl Berry <karl@freefriends.org>2006-10-15 22:37:32 +0000
commit237df1eb06d422ff243a05b9a25501ba287681c1 (patch)
tree4cc4f2032474921cb986d1ca63b3cf9a267b480a /Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
parent15e21b5bab66eca251ac48fdc052126505428d4e (diff)
pgf/tikz 1.09 big update (13oct06)
git-svn-id: svn://tug.org/texlive/trunk@2332 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex56
1 files changed, 50 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
index 991c7edfc45..738158f2348 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
@@ -1,9 +1,11 @@
-% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
+% Copyright 2006 by Till Tantau
%
-% This program can be redistributed and/or modified under the terms
-% of the LaTeX Project Public License Distributed from CTAN
-% archives in directory macros/latex/base/lppl.txt.
-
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
\section{Coordinate and Canvas Transformations}
@@ -198,6 +200,26 @@ coordinate transformations.
\end{command}
+
+\begin{command}{\pgftransformtriangle\marg{a}\marg{b}\marg{c}}
+ This command transforms the coordinate system in such a way that the
+ triangle given by the points \meta{a}, \meta{b} and \meta{c} lies at
+ the coordinates $(0,0)$, $(1\mathrm{pt},0\mathrm{pt})$ and
+ $(0\mathrm{pt},1\mathrm{pt})$.
+\begin{codeexample}[]
+\begin{tikzpicture}
+ \draw[help lines] (0,0) grid (3,2);
+ \pgftransformtriangle
+ {\pgfpoint{1cm}{0cm}}
+ {\pgfpoint{0cm}{2cm}}
+ {\pgfpoint{3cm}{1cm}}
+
+ \draw (0,0) -- (1pt,0pt) -- (0pt,1pt) -- cycle;
+\end{tikzpicture}
+\end{codeexample}
+\end{command}
+
+
\begin{command}{\pgftransformcm\marg{a}\marg{b}\marg{c}\marg{d}\marg{point}}
Applies the transformation matrix given by $a$, $b$, $c$, and $d$
and the shift \meta{point} to coordinates (in addition to any
@@ -253,6 +275,10 @@ coordinate transformations.
\pgftext{Hi!}
\end{tikzpicture}
\end{codeexample}
+ If |\ifpgfslopedattime| is true, another \TeX\ |\if| is important:
+ |\ifpgfallowupsidedowattime|. If this is false, \pgfname\ will
+ ensure that the rotation is done in such a way that text is never
+ ``upside down.''
There is another \TeX\ if that influences this command. If you set
|\ifpgfresetnontranslationattime| to true, then, between
@@ -290,7 +316,8 @@ coordinate transformations.
time, see Section~\ref{section-pointsattime} once more.
As for the line-at-time transformation command, |\ifpgfslopedattime|
- decides whether an additional rotation should be applied.
+ decides whether an additional rotation should be applied. Again, the
+ value of |\ifpgfallowupsidedowattime| is also considered.
\begin{codeexample}[]
\begin{tikzpicture}
\draw[help lines] (0,0) grid (3,2);
@@ -322,6 +349,14 @@ coordinate transformations.
\end{textoken}
}
{
+ \let\ifpgfallowupsidedowattime=\relax
+ \begin{textoken}{\ifpgfallowupsidedowattime}
+ Decides whether the ``at time'' transformation commands should
+ allow the rotation be down in such a way that ``upside-down text''
+ can result.
+ \end{textoken}
+}
+{
\let\ifpgfresetnontranslationsattime=\relax
\begin{textoken}{\ifpgfresetnontranslationsattime}
Decides whether the ``at time'' transformation commands should
@@ -529,6 +564,15 @@ a coordinate transformation, see the previous section).
\end{environment}
+\begin{plainenvironment}{{pgflowlevelscope}\marg{transformation code}}
+ Plain \TeX\ version of the environment.
+\end{plainenvironment}
+
+\begin{contextenvironment}{{pgflowlevelscope}\marg{transformation code}}
+ Con\TeX t version of the environment.
+\end{contextenvironment}
+
+
%%% Local Variables: