[latex3-commits] [git/LaTeX3-latex3-latex3] master: More nested calls removes (74cbdc7)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Feb 10 11:51:12 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/74cbdc7336da5c3ea9d2770daecbb6138ab72498

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

commit 74cbdc7336da5c3ea9d2770daecbb6138ab72498
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Feb 10 10:51:12 2019 +0000

    More nested calls removes


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

74cbdc7336da5c3ea9d2770daecbb6138ab72498
 l3experimental/l3draw/l3draw-paths.dtx |   43 +++++++++++---------------------
 1 file changed, 15 insertions(+), 28 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-paths.dtx b/l3experimental/l3draw/l3draw-paths.dtx
index cf40e95..3fbf3b7 100644
--- a/l3experimental/l3draw/l3draw-paths.dtx
+++ b/l3experimental/l3draw/l3draw-paths.dtx
@@ -254,15 +254,12 @@
   }
 \cs_new_protected:Npn \draw_path_curveto:nnn #1#2#3
   {
-    \@@_point_process:nnn
+    \@@_point_process:nnnn
       {
-        \@@_point_process:nn
-          {
-            \@@_path_mark_corner:
-            \@@_path_curveto:nnnnnn
-          }
-          { \draw_point_transform:n {#1} }
+        \@@_path_mark_corner:
+        \@@_path_curveto:nnnnnn
       }
+      { \draw_point_transform:n {#1} }
       { \draw_point_transform:n {#2} }
       { \draw_point_transform:n {#3} }
   }
@@ -303,16 +300,12 @@
   { \@@_point_process:nn { \@@_path_lineto:nn } {#1} }
 \cs_new_protected:Npn \draw_path_canvas_curveto:nnn #1#2#3
   {
-    \@@_point_process:nnn
+    \@@_point_process:nnnn
       {
-        \@@_point_process:nn
-          {
-            \@@_path_mark_corner:
-            \@@_path_curveto:nnnnnn
-          }
-          {#1}
+        \@@_path_mark_corner:
+        \@@_path_curveto:nnnnnn
       }
-      {#2} {#3}
+      {#1} {#2} {#3}
   }
 %    \end{macrocode}
 % \end{macro}
@@ -514,14 +507,11 @@
         \@@_point_transform_noshift:n
           { \draw_point_polar:nnn { #1 #4 90 } {#7} {#8} }
       }
-    \@@_point_process:nn
+    \@@_point_process:nnn
+      { \@@_path_arc_auxiv:nnnn }
       {
-        \@@_point_process:nn
-          { \@@_path_arc_auxiv:nnnn }
-          {
-            \draw_point_transform:n
-              { \draw_point_polar:nnn {#1} {#5} {#6} }
-          }
+        \draw_point_transform:n
+          { \draw_point_polar:nnn {#1} {#5} {#6} }
       }
       {
         \draw_point_transform:n
@@ -624,12 +614,9 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \draw_path_ellipse:nnn #1#2#3
   {
-    \@@_point_process:nnn
-      {
-        \@@_point_process:nn
-          { \@@_path_ellipse:nnnnnn }
-          { \draw_point_transform:n {#1} }
-      }
+    \@@_point_process:nnnn
+      { \@@_path_ellipse:nnnnnn }
+      { \draw_point_transform:n {#1} }
       { \@@_point_transform_noshift:n {#2} }
       { \@@_point_transform_noshift:n {#3} }
   }





More information about the latex3-commits mailing list