[latex3-commits] [git/LaTeX3-latex3-latex3] master: State scoping should not affect path (91a3157)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Feb 27 08:15:13 CET 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/91a3157a6f3ae09d87fb584e16daf32273620a7b
>---------------------------------------------------------------
commit 91a3157a6f3ae09d87fb584e16daf32273620a7b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Feb 27 07:08:31 2018 +0000
State scoping should not affect path
This is different to pgf: I suspect they do it for performance.
>---------------------------------------------------------------
91a3157a6f3ae09d87fb584e16daf32273620a7b
l3experimental/l3draw/l3draw-scopes.dtx | 1 -
l3experimental/l3draw/testfiles/m3draw005.lvt | 6 +++---
l3experimental/l3draw/testfiles/m3draw005.ptex.tlg | 2 +-
l3experimental/l3draw/testfiles/m3draw005.tlg | 2 +-
l3experimental/l3draw/testfiles/m3draw005.uptex.tlg | 2 +-
l3experimental/l3draw/testfiles/m3draw005.xetex.tlg | 2 +-
6 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/l3experimental/l3draw/l3draw-scopes.dtx b/l3experimental/l3draw/l3draw-scopes.dtx
index 69abd63..e006f98 100644
--- a/l3experimental/l3draw/l3draw-scopes.dtx
+++ b/l3experimental/l3draw/l3draw-scopes.dtx
@@ -188,7 +188,6 @@
\dim_set_eq:NN \l_@@_linewidth_dim \g_@@_linewidth_dim
\tl_set_eq:NN \l_@@_fill_color_tl \g_@@_fill_color_tl
\tl_set_eq:NN \l_@@_stroke_color_tl \g_@@_stroke_color_tl
- \@@_path_reset_limits:
}
\cs_new_protected:Npn \draw_scope_state_end:
{
diff --git a/l3experimental/l3draw/testfiles/m3draw005.lvt b/l3experimental/l3draw/testfiles/m3draw005.lvt
index 77bc293..d98a4c5 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.lvt
+++ b/l3experimental/l3draw/testfiles/m3draw005.lvt
@@ -31,16 +31,16 @@
\START
-\TEST { \draw_scope_begin: }
+\TEST { \draw_scope_state_begin: }
{
\test:n
{
- \draw_scope_begin:
+ \draw_scope_state_begin:
\draw_linewidth:n { 1pt }
\draw_path_lineto:n { 1cm, 10cm }
\draw_path_lineto:n { 2cm , 20cm }
\draw_path_use_clear:n { stroke }
- \draw_scope_end:
+ \draw_scope_state_end:
}
}
diff --git a/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg b/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg
index b45b946..75188d1 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.ptex.tlg
@@ -1,7 +1,7 @@
This is a generated file for the LaTeX (2e + expl3) validation system.
Don't change this file in any respect.
============================================================
-TEST 1: \draw_scope_begin:
+TEST 1: \draw_scope_state_begin:
============================================================
> \box...=
\hbox(285.52756+0.0)x29.45276
diff --git a/l3experimental/l3draw/testfiles/m3draw005.tlg b/l3experimental/l3draw/testfiles/m3draw005.tlg
index e66b03e..311dad3 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.tlg
@@ -1,7 +1,7 @@
This is a generated file for the LaTeX (2e + expl3) validation system.
Don't change this file in any respect.
============================================================
-TEST 1: \draw_scope_begin:
+TEST 1: \draw_scope_state_begin:
============================================================
> \box...=
\hbox(285.52756+0.0)x29.45276
diff --git a/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg b/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg
index b45b946..75188d1 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.uptex.tlg
@@ -1,7 +1,7 @@
This is a generated file for the LaTeX (2e + expl3) validation system.
Don't change this file in any respect.
============================================================
-TEST 1: \draw_scope_begin:
+TEST 1: \draw_scope_state_begin:
============================================================
> \box...=
\hbox(285.52756+0.0)x29.45276
diff --git a/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg b/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg
index b45b946..75188d1 100644
--- a/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg
+++ b/l3experimental/l3draw/testfiles/m3draw005.xetex.tlg
@@ -1,7 +1,7 @@
This is a generated file for the LaTeX (2e + expl3) validation system.
Don't change this file in any respect.
============================================================
-TEST 1: \draw_scope_begin:
+TEST 1: \draw_scope_state_begin:
============================================================
> \box...=
\hbox(285.52756+0.0)x29.45276
More information about the latex3-commits
mailing list