diff options
Diffstat (limited to 'graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-library-patterns.images.tex')
-rw-r--r-- | graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-library-patterns.images.tex | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-library-patterns.images.tex b/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-library-patterns.images.tex index 10fa3aca6d..c3c38a8517 100644 --- a/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-library-patterns.images.tex +++ b/graphics/pgf/contrib/tikz-ext/doc/tikz-ext-manual-en-library-patterns.images.tex @@ -13,6 +13,8 @@ \begin{tikzlibrary}{ext.patterns.images} This library allows to use an image to be used as a repeating pattern for a path. + + \inspiration{Pattern-Q}{Pattern-A} \end{tikzlibrary} With this library arbitrary images (or indeed PDF documents) can be used as @@ -27,9 +29,9 @@ This is a two-step process: \begin{command}{\pgfsetupimageaspattern\oarg{options}\marg{name}\marg{image}} \end{command} -\begin{key}{/tikz/image as pattern=\meta{options} (default |\{\}|)} +\begin{key}{/tikz/image as pattern=\meta{options} (default \{\})} -\begin{codeexample}[preamble=\usetikzlibrary{ext.patterns.images}] +\begin{codeexample}[preamble=\usetikzlibrary{ext.patterns.images,shapes.geometric}] \pgfsetupimageaspattern[width=.5cm]{grid}{example-image-1x1} \tikz \node[star, minimum size=3cm, draw, image as pattern={name=grid,options={left, bottom, y=-.5cm, rotate=45}}] {}; @@ -41,7 +43,7 @@ Specifies the name of the ``image-pattern'' to be used. \end{key} \begin{stylekey}{/tikz/image as pattern/option} -Options that's be used by the internal |\pgftext|,\indexCommandO{\pgftext} +Options that will be used by the internal |\pgftext|,\indexCommandO{\pgftext} only keys from |/pgf/text| should be used.\indexKeyO[/pgf/]{text} \end{stylekey} |