[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drop 'inner' line width (2da2124)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Mar 8 22:20:51 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/2da2124c1e4a5a2df48ac64015e962741e39c7a8

>---------------------------------------------------------------

commit 2da2124c1e4a5a2df48ac64015e962741e39c7a8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Mar 8 21:17:06 2018 +0000

    Drop 'inner' line width
    
    ... until it is actually needed somewhere!


>---------------------------------------------------------------

2da2124c1e4a5a2df48ac64015e962741e39c7a8
 l3experimental/l3draw/l3draw-state.dtx        |   10 +++-------
 l3experimental/l3draw/l3draw.dtx              |    2 +-
 l3experimental/l3draw/testfiles/m3draw000.tlg |    1 -
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-state.dtx b/l3experimental/l3draw/l3draw-state.dtx
index 4c6bade..6c1438e 100644
--- a/l3experimental/l3draw/l3draw-state.dtx
+++ b/l3experimental/l3draw/l3draw-state.dtx
@@ -58,12 +58,11 @@
 %<@@=draw>
 %    \end{macrocode}
 %
-% \begin{variable}{\g_@@_linewidth_dim, \g_@@_inner_linewidth_dim}
+% \begin{variable}{\g_@@_linewidth_dim}
 %   Linewidth for strokes: global as the scope for this relies on the graphics
 %   state. The inner line width is used for places where two lines are used.
 %    \begin{macrocode}
 \dim_new:N \g_@@_linewidth_dim
-\dim_new:N \g_@@_inner_linewidth_dim
 %    \end{macrocode}
 % \end{variable}
 %
@@ -75,18 +74,15 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{macro}{\draw_linewidth:n, \draw_inner_linewidth:n}
+% \begin{macro}{\draw_linewidth:n}
 %   Set the linewidth: we need a wrapper as this has to pass to the driver
-%   layer. The inner version is handled at the macro layer but is given a
-%   consistent interface here.
+%   layer.
 %    \begin{macrocode}
 \cs_new_protected:Npn \draw_linewidth:n #1
   {
     \dim_gset:Nn \g_@@_linewidth_dim { \fp_to_dim:n {#1} }
     \driver_draw_linewidth:n \g_@@_linewidth_dim
   }
-\cs_new_protected:Npn \draw_inner_linewidth:n #1
-  { \dim_gset:Nn \g_@@_inner_linewidth_dim { \fp_to_dim:n {#1} }  }
 %    \end{macrocode}
 % \end{macro}
 %
diff --git a/l3experimental/l3draw/l3draw.dtx b/l3experimental/l3draw/l3draw.dtx
index 7cefc6d..d6ffbe8 100644
--- a/l3experimental/l3draw/l3draw.dtx
+++ b/l3experimental/l3draw/l3draw.dtx
@@ -218,7 +218,7 @@
 %   of every drawing (\cs{draw_begin:}).
 % \end{variable}
 %
-% \begin{function}{\draw_linewidth:n, \draw_inner_linewidth:n}
+% \begin{function}{\draw_linewidth:n}
 %   \begin{syntax}
 %     \cs{draw_linewidth:n} \Arg{width}
 %   \end{syntax}
diff --git a/l3experimental/l3draw/testfiles/m3draw000.tlg b/l3experimental/l3draw/testfiles/m3draw000.tlg
index 4a13dff..1d85788 100644
--- a/l3experimental/l3draw/testfiles/m3draw000.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw000.tlg
@@ -45,7 +45,6 @@ Author: Joseph Wright
 \l__draw_softpath_corneri_dim=\dimen...
 \l__draw_softpath_cornerii_dim=\dimen...
 \g__draw_linewidth_dim=\dimen...
-\g__draw_inner_linewidth_dim=\dimen...
 \l_draw_default_linewidth_dim=\dimen...
 \l__draw_xshift_dim=\dimen...
 \l__draw_yshift_dim=\dimen...





More information about the latex3-commits mailing list