summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-svg-path.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-svg-path.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-svg-path.tex58
1 files changed, 29 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-svg-path.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-svg-path.tex
index ea6b2a73263..120eb1d9a7a 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-svg-path.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-svg-path.tex
@@ -12,37 +12,35 @@
\label{section-library-svg-path}
\begin{pgflibrary}{svg.path}
- This library defines a command that allows you to specify a path
- using the \textsc{svg}-syntax.
+ This library defines a command that allows you to specify a path using the
+ \textsc{svg}-syntax.
\end{pgflibrary}
\begin{command}{\pgfpathsvg\marg{path}}
- This command extends the current path by a \meta{path} given in the
- \textsc{svg}-path-data syntax. This syntax is described in detail in
- Section~8.3 of the \textsc{svg}-specification, Version 1.1.
+ This command extends the current path by a \meta{path} given in the
+ \textsc{svg}-path-data syntax. This syntax is described in detail in
+ Section~8.3 of the \textsc{svg}-specification, Version~1.1.
- In principle, the complete syntax is supported and the library just
- provides a parser and a mapping to basic layer commands. For
- instance, |M 0 10| is mapped to
- |\pgfpathmoveto{\pgfpoint{0pt}{10pt}}|. There are, however, a few things
- to be aware of:
- \begin{itemize}
- \item The computation underlying the arc commands |A| and |a|
- are not numerically stable, which may result in quite imprecise
- arcs. B\'ezier curves, both quadratic and cubic, are not affected,
- neither are arcs spanning degrees that are multiples of
- $90^{\circ}$.
- \item The dimensionless units of \textsc{svg} are always interpreted
- as points (|pt|). This is a problem with paths like |M 20000 0|,
- which will raise an error message since \TeX\ cannot handle
- dimensions larger than about 16000 points.
- \item
- All coordinate and canvas transformations apply to the path in the
- usual fashion.
- \item
- The |\pgfpathsvg| command can be freely intermixed with other path
- commands.
- \end{itemize}
+ In principle, the complete syntax is supported and the library just
+ provides a parser and a mapping to basic layer commands. For instance,
+ |M 0 10| is mapped to |\pgfpathmoveto{\pgfpoint{0pt}{10pt}}|. There are,
+ however, a few things to be aware of:
+ %
+ \begin{itemize}
+ \item The computation underlying the arc commands |A| and |a| are not
+ numerically stable, which may result in quite imprecise arcs.
+ Bézier curves, both quadratic and cubic, are not affected, neither
+ are arcs spanning degrees that are multiples of $90^{\circ}$.
+ \item The dimensionless units of \textsc{svg} are always interpreted as
+ points (|pt|). This is a problem with paths like |M 20000 0|, which
+ will raise an error message since \TeX\ cannot handle dimensions
+ larger than about 16\,000 points.
+ \item All coordinate and canvas transformations apply to the path in
+ the usual fashion.
+ \item The |\pgfpathsvg| command can be freely intermixed with other
+ path commands.
+ \end{itemize}
+ %
\begin{codeexample}[]
\begin{pgfpicture}
\pgfpathsvg{M 0 0 l 20 0 0 20 -20 0 q 10 0 10 10
@@ -50,9 +48,11 @@
\pgfusepath{stroke}
\end{pgfpicture}
\end{codeexample}
+ %
\end{command}
-%%% Local Variables:
+
+%%% Local Variables:
%%% mode: latex
%%% TeX-master: "pgfmanual-pdftex-version"
-%%% End:
+%%% End: