[latex3-commits] [l3svn] branch master updated: Drop "rectangle" construct

noreply at latex-project.org noreply at latex-project.org
Tue May 17 20:13:38 CEST 2016


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  86dc1a1   Drop "rectangle" construct
86dc1a1 is described below

commit 86dc1a177c3797b6fd29e9f090ac5ab7feec4506
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue May 17 19:05:16 2016 +0100

    Drop "rectangle" construct
    
    This only works in PDF mode and ends up awkward compared to other
    code.
---
 l3kernel/l3drivers.dtx                  |   23 -----------------------
 l3kernel/testfiles/m3expl001.luatex.tlg |    1 -
 l3kernel/testfiles/m3expl001.ptex.tlg   |    1 -
 l3kernel/testfiles/m3expl001.tlg        |    1 -
 l3kernel/testfiles/m3expl001.uptex.tlg  |    1 -
 l3kernel/testfiles/m3expl001.xetex.tlg  |    1 -
 l3kernel/testfiles/m3expl003.luatex.tlg |    1 -
 l3kernel/testfiles/m3expl003.ptex.tlg   |    1 -
 l3kernel/testfiles/m3expl003.tlg        |    1 -
 l3kernel/testfiles/m3expl003.uptex.tlg  |    1 -
 l3kernel/testfiles/m3expl003.xetex.tlg  |    1 -
 11 files changed, 33 deletions(-)

diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 43e1364..e8b9c1e 100755
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -231,18 +231,6 @@
 %   without appearing itself.
 % \end{function}
 %
-% \begin{function}{\__driver_draw_rectangle:nnnn}
-%   \begin{syntax}
-%     \cs{__driver_draw_rectangle:nnnn} \Arg{x_1} \Arg{y_1} \Arg{x_2} \Arg{y_2}
-%   \end{syntax}
-%   Adds rectangular path from (\meta{x_1}, \meta{y_1}) to
-%   (\meta{x_2}, \meta{y_2}); any active transformation
-%   matrix will apply.  Note that nothing is drawn until a fill or stroke
-%   operation is applied, and that the path may be discarded or used as a clip
-%   without appearing itself. The drawing cursor will be at
-%   (\meta{x_2}, \meta{y_2}) once the rectangle is constructed.
-% \end{function}
-%
 % \begin{function}{\__driver_draw_closepath:}
 %   \begin{syntax}
 %     \cs{__driver_draw_closepath:}
@@ -665,7 +653,6 @@
 %
 % \begin{macro}[int]{\@@_draw_moveto:nn, \@@_draw_lineto:nn}
 % \begin{macro}[int]{\@@_draw_curveto:nnnnnn}
-% \begin{macro}[int]{\@@_draw_rectangle:nnnn}
 %   Path creation operations all resolve directly to PDF primitive steps, with
 %   only the need to convert to \texttt{bp}. Notice that \texttt{x}-type
 %   expansion is included here to ensure that any variable values are
@@ -691,19 +678,9 @@
         c
       }
  }
-\cs_new_protected:Npn \@@_draw_rectangle:nnnn #1#2#3#4
-  {
-     \@@_draw_literal:x
-      {
-        \dim_to_decimal_in_bp:n {#1} ~ \dim_to_decimal_in_bp:n {#2} ~
-        \dim_to_decimal_in_bp:n {#3} ~ \dim_to_decimal_in_bp:n {#4} ~
-        re
-      }
-  }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
-% \end{macro}
 %
 % \begin{variable}[int]{\@@_draw_eor_bool}
 %    The even-odd rule here can be implemented as a simply switch.
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 0727548..52e8fae 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -4799,7 +4799,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 7d43a1e..cb98423 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -4788,7 +4788,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 648d75d..9d15def 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -4991,7 +4991,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 3e6d293..0c6bb99 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -4989,7 +4989,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index bb6ff1f..4e9614e 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -4795,7 +4795,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index da09c54..5ea1717 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -4800,7 +4800,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index d87269f..3de0c06 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -4789,7 +4789,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 603e5e5..a6cf28b 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -4992,7 +4992,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index f6001ea..574b61e 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -4990,7 +4990,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 3e35dbe..464cb2a 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -4796,7 +4796,6 @@ Defining \__driver_draw_scope_end: on line ...
 Defining \__driver_draw_moveto:nn on line ...
 Defining \__driver_draw_lineto:nn on line ...
 Defining \__driver_draw_curveto:nnnnnn on line ...
-Defining \__driver_draw_rectangle:nnnn on line ...
 Defining \__driver_draw_eor_bool on line ...
 Defining \__driver_draw_closepath: on line ...
 Defining \__driver_draw_stroke: on line ...

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list