Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/generic/pgf/pgfmanual-en-base-shadings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ \subsubsection{General (Functional) Shadings}
\texttt{false}, \texttt{ge}, \texttt{gt}, \texttt{le}, \texttt{lt},
\texttt{ne}, \texttt{not}, \texttt{or}, \texttt{true}, \texttt{xor},
\texttt{if}, \texttt{ifelse}, \texttt{copy}, \texttt{dup}, \texttt{exch},
\texttt{index}, \texttt{pop}.
\texttt{index}, \texttt{pop}, \texttt{roll}.

When the function is evaluated, the top two stack elements are the
coordinates of the point for which the color should be computed. The
Expand Down Expand Up @@ -285,7 +285,7 @@ \subsubsection{General (Functional) Shadings}
whether a shading needs to be recalculated when a color has changed.

The \meta{init code} is executed each time a shading is (re)calculated.
Typically, it will contain code to extract coordinates from colors.
Typically, it will contain code to extract components from colors.
%
\begin{codeexample}[]
\pgfdeclarefunctionalshading{twospots}
Expand Down
Loading