summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex112
1 files changed, 56 insertions, 56 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex
index 12862bee9db..06bd9934bff 100644
--- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex
@@ -38,7 +38,7 @@
% Set the current time to a snapshot time
%
% #1 = a global snapshot time (a dimensionless number, measured in
-% seconds).
+% seconds).
%
% Description:
%
@@ -47,11 +47,11 @@
% of the animation at the given time.
%
% The value #1 can be thought of as the "global time", which can be
-% thought of as the time that elapsed since the "onload" event.
+% thought of as the time that elapsed since the "onload" event.
%
% The command \pgfsysanimsnapshotafter works the same way as
% pgfsysanimsnapshot, only the time #1 is interpreted as "global time
-% #1 + epsilon". This means that when two or mroe values are specified
+% #1 + epsilon". This means that when two or more values are specified
% for time #1, the last of them is used rather than the
% first. Likewise, when a non-freezing timeline ends at time #1,
% \pgfsysanimsnapshot will set the value to the last value in the
@@ -65,10 +65,10 @@
% - Events and restarts are ignored. For the snapshot, all animations
% start at global time 0, except if the command
% \pgfsysanimkeysnapshotstart is used to specify a different
-% start for a specific animation.
+% start for a specific animation.
% - The "current value" as starting value (pgf has no real chance of
% determining the correct value of this). Using this with a snapshot
-% will raise an errer.
+% will raise an error.
%
% Example:
%
@@ -200,7 +200,7 @@
% Companions for \pgfsys@animation@freezeatend and
-% \pgfsys@animation@removeatend
+% \pgfsys@animation@removeatend
%
% Description:
%
@@ -226,7 +226,7 @@
\def\pgfsysanimkeytime#1#2#3#4#5{%
% Setup animation
\pgfsys@animation@time{#1}{#2}{#3}{#4}{#5}%
- % and rember for snapshots
+ % and remember for snapshots
\def\pgfsysanim@time{{#1}{#2}{#3}{#4}{#5}}%
}
@@ -267,7 +267,7 @@
%
% Description:
%
-% Calls \pgfsys@animation@offset.
+% Calls \pgfsys@animation@offset.
\def\pgfsysanimkeyoffset#1#2{%
\pgfsys@animation@offset{#1}{#2}%
@@ -338,7 +338,7 @@
% Description:
%
% Calls \pgfsys@animaion@(no)accumulate and records the setting for
-% snapshots.
+% snapshots.
\def\pgfsysanimkeyaccumulate{\pgfsys@animation@accumulate\pgfsysanim@accumulatetrue}
\def\pgfsysanimkeynoaccumulate{\pgfsys@animation@noaccumulate\pgfsysanim@accumulatefalse}
@@ -353,7 +353,7 @@
%
% Description:
%
-% Calls \pgfsys@animation@whom and records the setting for snapshots.
+% Calls \pgfsys@animation@whom and records the setting for snapshots.
\def\pgfsysanimkeywhom#1#2{%
\pgfsys@register@type{#2}%
@@ -368,12 +368,12 @@
% Companions for \pgfsys@animation@rotatealong and
-% \pgfsys@animation@norotatealong
+% \pgfsys@animation@norotatealong
%
% Description:
%
% Calls the system layer command and records the setting for
-% snapshots.
+% snapshots.
\def\pgfsysanimkeyrotatealong{\pgfsys@animation@rotatealong\pgfsysanim@rotatealongtrue}
\def\pgfsysanimkeynorotatealong{\pgfsys@animation@norotatealong\pgfsysanim@rotatealongfalse}
@@ -450,7 +450,7 @@
}
-% Supresses the animation value
+% Suppresses the animation value
%
% Description:
%
@@ -566,7 +566,7 @@
\pgfsys@animation@val@color@rgb{#1}{#2}{#3}%
\ifpgfsysanim@is@snap%
\pgfsysanim@esnap@record{{#1}{#2}{#3}}%
- \fi%
+ \fi%
}
@@ -599,7 +599,7 @@
\edef\pgfsys@temp{{\pgf@sys@tonumber\pgf@xa}{\pgf@sys@tonumber\pgf@xb}{\pgf@sys@tonumber\pgf@xc}}%
\expandafter}%
\expandafter\pgfsysanim@esnap@record\expandafter{\pgfsys@temp}%
- \fi%
+ \fi%
}
@@ -625,7 +625,7 @@
\edef\pgfsys@temp{{\pgf@sys@tonumber\pgf@xa}{\pgf@sys@tonumber\pgf@xb}{\pgf@sys@tonumber\pgf@xc}}%
\expandafter}%
\expandafter\pgfsysanim@esnap@record\expandafter{\pgfsys@temp}%
- \fi%
+ \fi%
}
@@ -643,7 +643,7 @@
\pgfsys@animation@val@color@gray{#1}%
\ifpgfsysanim@is@snap%
\pgfsysanim@esnap@record{{#1}{#1}{#1}}%
- \fi%
+ \fi%
}
@@ -661,7 +661,7 @@
\pgfsys@animation@val@path{#1}%
\ifpgfsysanim@is@snap%
\pgfsysanim@snap@record{#1}%
- \fi%
+ \fi%
}
@@ -678,7 +678,7 @@
\pgfsys@animation@val@translate{#1}{#2}%
\ifpgfsysanim@is@snap%
\pgfsysanim@esnap@record{{#1}{#2}}%
- \fi%
+ \fi%
}
@@ -696,7 +696,7 @@
\pgfsys@animation@val@scale{#1}{#2}%
\ifpgfsysanim@is@snap%
\pgfsysanim@esnap@record{{#1}{#2}}%
- \fi%
+ \fi%
}
@@ -714,7 +714,7 @@
\pgfsys@animation@val@viewbox{#1}{#2}{#3}{#4}%
\ifpgfsysanim@is@snap%
\pgfsysanim@esnap@record{{#1}{#2}{#3}{#4}}%
- \fi%
+ \fi%
}
@@ -733,7 +733,7 @@
\pgfsys@animation@val@dash{#1}{#2}%
\ifpgfsysanim@is@snap%
\pgfsysanim@esnap@record{{#1}{#2}}%
- \fi%
+ \fi%
}
@@ -1005,7 +1005,7 @@
\fi%
\pgf@x\pgfmathresult pt\relax%
\expandafter\pgfsysanim@splitter\the\pgf@x%
- %
+ %
\pgf@xc=\pgfsysanim@repeat@frac\pgf@xa%
\advance\pgf@xc by\pgf@xb%
\pgfsysanim@compute@time%
@@ -1027,7 +1027,7 @@
\expandafter\pgfsysanim@test@time\pgfsys@temp%
\fi%
\ifpgfsysanim@cont%
- \advance\pgfutil@tempcnta by1\relax%
+ \advance\pgfutil@tempcnta by1\relax%
\pgfutil@repeat%
}
@@ -1056,7 +1056,7 @@
% else, do nothing
\fi
\else%
- % always overwrite:
+ % always overwrite:
\def\pgfsysanim@prev@val{#6}%
\def\pgfsysanim@prev@time{#1}%
\def\pgfsysanim@prev@spline{{#2}{#3}{#4}{#5}}%
@@ -1076,7 +1076,7 @@
\pgfsysanim@contfalse%
\fi%
\fi%
- \fi%
+ \fi%
}
\let\pgfsysanim@prev@val\relax%
@@ -1100,8 +1100,8 @@
\let\pgfsysanim@code@end\pgfsysanim@code@closer%
\expandafter\global\expandafter\let\pgfsysanim@code@main\pgfutil@empty%
\else%
- \let\pgfsysanim@code@begin\relax%
- \let\pgfsysanim@code@end\relax%
+ \let\pgfsysanim@code@begin\relax%
+ \let\pgfsysanim@code@end\relax%
\fi%
\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\def%
\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\pgfsysanim@new@main%
@@ -1159,7 +1159,7 @@
\fi%
\pgfsysanim@add@trans@%
\fi%
-}
+}
\def\pgfsysanim@add@trans@{%
\toks0\expandafter{\pgfsysanim@snap@canvas@transform@pre}%
\toks1\expandafter{\pgfsysanim@code@begin}%
@@ -1307,8 +1307,8 @@
\pgfsysanim@cap@scalar{\pgfsysanim@z@val}{0}{1}%
\pgfsysanim@attach{strokecolor}{\noexpand\pgfsys@color@rgb@stroke{\pgfsysanim@x@val}{\pgfsysanim@y@val}{\pgfsysanim@z@val}}{}%
\fi%
-}
-
+}
+
\def\pgfsysanim@prep@attr@fillcolor{%
\ifpgfsysanim@valid@snapshot@time%
\pgfsysanim@comp@color%
@@ -1440,26 +1440,26 @@
\def\pgfsysanim@prepare@start@of@path{%
\ifx\pgfsysanim@snap@tip@start\pgfutil@empty\else
- %
+ %
% Step 1: Split
- %
+ %
\ifx\pgfprocessresultpathsuffix\relax%
% Ok, still need to compute the split:
\pgfprocesssplitpath{\pgf@arrowpath}%
\fi%
- %
+ %
% Step 2: extract
- %
+ %
\expandafter\pgf@parse@start\pgfprocessresultpathsuffix\pgf@stop\pgf@stop\pgf@stop%
- %
+ %
% Step 3: prep
- %
+ %
\pgf@prep@start%
\fi%
}
\def\pgfsysanim@add@marker@at@start{%
\ifx\pgfsysanim@snap@tip@start\pgfutil@empty\else
- %
+ %
% Step 4: draw
%
{%
@@ -1480,24 +1480,24 @@
\pgf@precise@shorteningfalse%
\edef\pgf@path@shortening@distance{0pt}%
\ifx\pgfsysanim@snap@tip@end\pgfutil@empty\else
- %
+ %
% Step 1: Split
- %
+ %
\pgfprocesssplitpath{\pgfsysanim@path@val}%
\pgfprocesssplitsubpath{\pgfprocessresultpathsuffix}%
- %
+ %
% Step 2: extract
- %
+ %
\expandafter\pgf@parse@end\pgfprocessresultsubpathsuffix\pgf@stop\pgf@stop\pgf@stop%
- %
- % Step 3: prep
- %
+ %
+ % Step 3: prep
+ %
\pgf@prep@end%
\fi%
}
\def\pgfsysanim@add@marker@at@end{%
\ifx\pgfsysanim@snap@tip@end\pgfutil@empty\else
- %
+ %
% Step 4: draw
%
{%
@@ -1663,7 +1663,7 @@
}
-% Text interpolation
+% Text interpolation
\def\pgfsysanim@comp@text{%
\let\pgfsysanim@text@val\pgfsysanim@prev@val%
@@ -1853,11 +1853,11 @@
\else%
\pgf@xa#3pt%
\pgf@xb#5pt%
- % #4 is val supoort a
+ % #4 is val support a
% #6 is val support b
% our first approximation
- \let\pgfsysanim@t\pgfsysanim@frac@a%
- \let\pgfsysanim@s\pgfsysanim@frac@b%
+ \let\pgfsysanim@t\pgfsysanim@frac@a%
+ \let\pgfsysanim@s\pgfsysanim@frac@b%
\pgfsysanim@eval@spline%
\edef\pgfsysanim@ft{\the\pgf@x}%
\pgf@x\pgfsysanim@t pt%
@@ -1870,7 +1870,7 @@
% Ok, now do Newton one step
\advance\pgf@x by-\pgfsysanim@ft%
\pgf@x256\pgf@x%
- % \pgf@x is f'(t)
+ % \pgf@x is f'(t)
% must compute t - (f(t)-frac@a)/f'(t)
\pgf@ya\pgfsysanim@ft%
\advance\pgf@ya by-\pgfsysanim@frac@a pt%
@@ -1901,7 +1901,7 @@
% Ok, now do Newton one step2
\advance\pgf@x by-\pgfsysanim@ft%
\pgf@x256\pgf@x%
- % \pgf@x is f'(t)
+ % \pgf@x is f'(t)
% must compute t - (f(t)-frac@a)/f'(t)
\pgf@ya\pgfsysanim@ft%
\advance\pgf@ya by-\pgfsysanim@frac@a pt%
@@ -1920,7 +1920,7 @@
\advance\pgf@y by-\pgf@x%
\edef\pgfsysanim@t{\pgf@sys@tonumber\pgf@x}%
\edef\pgfsysanim@s{\pgf@sys@tonumber\pgf@y}%
- % Third newton:
+ % Third Newton:
\pgfsysanim@eval@spline%
\edef\pgfsysanim@ft{\the\pgf@x}%
\pgf@x\pgfsysanim@t pt%
@@ -1933,7 +1933,7 @@
% Ok, now do Newton one step2
\advance\pgf@x by-\pgfsysanim@ft%
\pgf@x256\pgf@x%
- % \pgf@x is f'(t)
+ % \pgf@x is f'(t)
% must compute t - (f(t)-frac@a)/f'(t)
\pgf@ya\pgfsysanim@ft%
\advance\pgf@ya by-\pgfsysanim@frac@a pt%
@@ -1973,12 +1973,12 @@
\advance\pgf@yb by\pgfsysanim@s\pgf@xa%
\pgf@yc\pgfsysanim@t pt%
\advance\pgf@yc by\pgfsysanim@s\pgf@xb%
- % Iteration two: (ya,yb,yc) recuded to (y,xc)
+ % Iteration two: (ya,yb,yc) reduced to (y,xc)
\pgf@y\pgfsysanim@t\pgf@yb%
\advance\pgf@y by\pgfsysanim@s\pgf@ya%
\pgf@xc\pgfsysanim@t\pgf@yc%
\advance\pgf@xc by\pgfsysanim@s\pgf@yb%
- % Iteration three: (y,xc) recuded to (x)
+ % Iteration three: (y,xc) reduced to (x)
\pgf@x\pgfsysanim@t\pgf@xc%
\advance\pgf@x by\pgfsysanim@s\pgf@y%
}