[latex3-commits] [git/LaTeX3-latex3-latex3] master: Miter limit is a factor (3b4535b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Feb 21 13:56:20 CET 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/3b4535b95151a56ca9da15a4fa8c2ece057bedae
>---------------------------------------------------------------
commit 3b4535b95151a56ca9da15a4fa8c2ece057bedae
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Feb 21 12:56:20 2018 +0000
Miter limit is a factor
>---------------------------------------------------------------
3b4535b95151a56ca9da15a4fa8c2ece057bedae
l3experimental/l3draw/l3draw-state.dtx | 2 +-
l3experimental/l3draw/l3draw.dtx | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/l3experimental/l3draw/l3draw-state.dtx b/l3experimental/l3draw/l3draw-state.dtx
index 5e6eb42..91ba8e1 100644
--- a/l3experimental/l3draw/l3draw-state.dtx
+++ b/l3experimental/l3draw/l3draw-state.dtx
@@ -94,7 +94,7 @@
% Pass through to the driver layer.
% \begin{macrocode}
\cs_new_protected:Npn \draw_miterlimit:n #1
- { \driver_draw_miterlimit:n { \fp_to_dim:n {#1} } }
+ { \driver_draw_miterlimit:n { \fp_eval:n {#1} } }
% \end{macrocode}
% \end{macro}
%
diff --git a/l3experimental/l3draw/l3draw.dtx b/l3experimental/l3draw/l3draw.dtx
index 9b7c04d..35010d3 100644
--- a/l3experimental/l3draw/l3draw.dtx
+++ b/l3experimental/l3draw/l3draw.dtx
@@ -140,10 +140,10 @@
%
% \begin{function}{\draw_miterlimit:n}
% \begin{syntax}
-% \cs{draw_miterlimit:n} \Arg{limit}
+% \cs{draw_miterlimit:n} \Arg{factor}
% \end{syntax}
-% Sets the miter \meta{limit} of lines joined as a miter, as described in the
-% PDF and PostScript manuals. The \meta{limit} is an \meta{fp expr}.
+% Sets the miter \meta{factor} of lines joined as a miter, as described in the
+% PDF and PostScript manuals. The \meta{factor} is an \meta{fp expr}.
% \end{function}
%
% \subsection{Points}
More information about the latex3-commits
mailing list