diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-patterns.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-patterns.tex | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-patterns.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-patterns.tex index cfb74f5b51b..6837464fccd 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-patterns.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-patterns.tex @@ -15,7 +15,7 @@ \subsection{Overview} There are many ways of filling a path. First, you can fill it using a -solid color and this is also the fasted method. Second, you can also +solid color and this is also the fastest method. Second, you can also fill it using a shading, which means that the color changes smoothly between two (or more) different colors. Third, you can fill it using a tiling pattern and it is explained in the following how this is done. @@ -58,13 +58,12 @@ internally, a new (fixed) instance of a pattern is declared when the parameters of a pattern change. Second, the phase of patterns is not well-defined, that is, it is not -clear where origin of the ``first'' tile is. To be more precise, +clear where the origin of the ``first'' tile is. To be more precise, PostScript and \textsc{pdf} on the one hand and \textsc{svg} on the other hand define the origin differently. PostScript and \textsc{pdf} define a fixed origin that is independent of where the path lies. This has the highly desirable effect that if you use the same pattern to -fill multiple paths, this has the same effect as if you used the -pattern to will a single path that is the union of all the paths. By +fill multiple paths, the outcome is the same as if you had filled a single path consisting of the union of all these paths. By comparison, \textsc{svg} uses the upper-left (?) corner of the path to be filled as the origin. However, the \textsc{svg} specification is a bit vague on this question. @@ -83,9 +82,9 @@ command is used for this: \marg{tile size}% \marg{code}} - This command declares a new form-only pattern. The \marg{name} is a - name for later reference. The two parameters \marg{lower left} and - \marg{upper right} must describe a bounding box that is large enough + This command declares a new form-only pattern. The \meta{name} is a + name for later reference. The two parameters \meta{lower left} and + \meta{upper right} must describe a bounding box that is large enough to encompass the complete tile. The size of a tile is given by \meta{tile size}, that is, a tile is @@ -134,11 +133,11 @@ command is used for this: Normally, when this argument is empty, once a pattern has been declared, it becomes ``frozen''. This means that it is not possible to enlarge the pattern or change the line width later on. - By specifying \meta{variables} no pattern is actually created. + By specifying \meta{variables}, no pattern is actually created. Instead, the arguments are stored away (so the macros, registers or keys do not have to be defined in advance). - When the fill patten is set, \pgfname{} checks if the pattern has + When the fill pattern is set, \pgfname{} checks if the pattern has already been created with the \meta{variables} set to their current values (\pgfname{} is usually ``smart enough'' to distinguish between macros, registers and keys). If so, this already-declared-pattern @@ -223,7 +222,7 @@ Once a pattern has been declared, it can be used. This command specifies that paths that are filled should be filled with the ``color'' by the pattern \meta{name}. For an inherently colored pattern, the \meta{color} parameter is ignored. For - form-only patterns, the \meta{color} parameter specified the color + form-only patterns, the \meta{color} parameter specifies the color to be used for the pattern. \begin{codeexample}[] \begin{tikzpicture} |