[latex3-commits] [git/LaTeX3-latex3-latex3] main: Tidy some names (3655fc93b)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Dec 14 07:21:18 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/3655fc93bb8e34c0798aab76eaf894eba9f012ab

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

commit 3655fc93bb8e34c0798aab76eaf894eba9f012ab
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Dec 14 06:19:03 2021 +0000

    Tidy some names


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

3655fc93bb8e34c0798aab76eaf894eba9f012ab
 l3backend/l3backend-draw.dtx | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/l3backend/l3backend-draw.dtx b/l3backend/l3backend-draw.dtx
index 50ea71a5f..17826d0d6 100644
--- a/l3backend/l3backend-draw.dtx
+++ b/l3backend/l3backend-draw.dtx
@@ -793,7 +793,7 @@
 % \begin{macro}{\@@_backend_rectangle:nnnn}
 % \begin{macro}{\@@_backend_curveto:nnnnnn}
 % \begin{macro}{\@@_backend_add_to_path:n}
-% \begin{variable}{\g_@@_draw_path_tl}
+% \begin{variable}{\g_@@_backend_path_tl}
 %   Once again, some work is needed to get path constructs correct. Rather
 %   then write the values as they are given, the entire path needs to be
 %   collected up before being output in one go. For that we use a dedicated
@@ -834,14 +834,14 @@
   }
 \cs_new_protected:Npn \@@_backend_add_to_path:n #1
   {
-    \tl_gset:Nx \g_@@_draw_path_tl
+    \tl_gset:Nx \g_@@_backend_path_tl
       {
-        \g_@@_draw_path_tl
-        \tl_if_empty:NF \g_@@_draw_path_tl { \c_space_tl }
+        \g_@@_backend_path_tl
+        \tl_if_empty:NF \g_@@_backend_path_tl { \c_space_tl }
         #1
       }
   }
-\tl_new:N \g_@@_draw_path_tl
+\tl_new:N \g_@@_backend_path_tl
 %    \end{macrocode}
 % \end{variable}
 % \end{macro}
@@ -889,11 +889,11 @@
           {
             < clipPath~id = " l3cp \int_use:N \g__kernel_clip_path_int " >
               { ?nl }
-            <path~d=" \g_@@_draw_path_tl "/> { ?nl }
+            <path~d=" \g_@@_backend_path_tl "/> { ?nl }
             < /clipPath > { ? nl }
             <
               use~xlink:href =
-                "\c_hash_str l3path \int_use:N \g_@@_path_int " ~
+                "\c_hash_str l3path \int_use:N \g_@@_backend_path_int " ~
                 #1
             />
           }
@@ -905,12 +905,12 @@
       }
       {
         \@@_backend_literal:x
-          { <path ~ d=" \g_@@_draw_path_tl " ~ #1 /> }
+          { <path ~ d=" \g_@@_backend_path_tl " ~ #1 /> }
       }
-    \tl_gclear:N \g_@@_draw_path_tl
+    \tl_gclear:N \g_@@_backend_path_tl
     \bool_gset_false:N \g_@@_draw_clip_bool
   }
-\int_new:N \g_@@_path_int
+\int_new:N \g_@@_backend_path_int
 \cs_new_protected:Npn \@@_backend_stroke:
   { \@@_backend_path:n { style="fill:none" } }
 \cs_new_protected:Npn \@@_backend_closestroke:
@@ -934,7 +934,7 @@
           {
             < clipPath~id = " l3cp \int_use:N \g__kernel_clip_path_int " >
               { ?nl }
-            <path~d=" \g_@@_draw_path_tl "/> { ?nl }
+            <path~d=" \g_@@_backend_path_tl "/> { ?nl }
             < /clipPath >
           }
         \__kernel_backend_scope:x
@@ -943,7 +943,7 @@
               "url( \c_hash_str l3cp \int_use:N \g__kernel_clip_path_int)"
           }
       }
-    \tl_gclear:N \g_@@_draw_path_tl
+    \tl_gclear:N \g_@@_path_tl
     \bool_gset_false:N \g_@@_draw_clip_bool
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list.