[latex3-commits] [git/LaTeX3-latex3-latex3] master: Tests for \draw_path_use:n (f186a93)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Apr 24 21:12:08 CEST 2019


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

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

commit f186a93ec942a7e2f231868f951a02f4643d51d8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Apr 24 20:12:08 2019 +0100

    Tests for \draw_path_use:n


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

f186a93ec942a7e2f231868f951a02f4643d51d8
 l3experimental/l3draw/testfiles/m3draw007.lvt      |   80 ++++++++++
 l3experimental/l3draw/testfiles/m3draw007.ptex.tlg |  153 +++++++++++++++++++
 l3experimental/l3draw/testfiles/m3draw007.tlg      |  158 ++++++++++++++++++++
 .../l3draw/testfiles/m3draw007.uptex.tlg           |  153 +++++++++++++++++++
 .../l3draw/testfiles/m3draw007.xetex.tlg           |  153 +++++++++++++++++++
 5 files changed, 697 insertions(+)

diff --git a/l3experimental/l3draw/testfiles/m3draw007.lvt b/l3experimental/l3draw/testfiles/m3draw007.lvt
new file mode 100644
index 0000000..57fb93e
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw007.lvt
@@ -0,0 +1,80 @@
+\documentclass{minimal}
+\input{regression-test}
+
+\RequirePackage[enable-debug]{expl3}
+\RequirePackage{l3draw}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation , log-functions }
+\ExplSyntaxOff
+
+\AUTHOR{Joseph Wright}
+
+\ExplSyntaxOn
+
+\cs_set_protected:Npn \test:n #1
+  {
+    \hbox_set:Nn \l_tmpa_box
+      {
+        \draw_begin:
+          \draw_path_moveto:n { 0cm , 0cm }
+          \draw_path_lineto:n { 0cm , 4cm }
+          \draw_path_lineto:n { 4cm , 4cm }
+          \draw_path_lineto:n { 4cm , 0cm }
+          \draw_path_close:
+          \draw_color_fill:n { red }
+          \draw_path_use:n {#1}
+        \draw_end:
+      }
+    \box_show:N \l_tmpa_box
+  }
+
+\cs_set_protected:Npn \test:nn #1#2
+  {
+    \hbox_set:Nn \l_tmpa_box
+      {
+        \draw_begin:
+          \draw_path_moveto:n { 0cm , 0cm }
+          \draw_path_lineto:n { 0cm , 4cm }
+          \draw_path_lineto:n { 4cm , 0cm }
+          \draw_path_close:
+          \draw_path_use_clear:n {#1}
+          \draw_path_moveto:n { 0cm , 0cm }
+          \draw_path_lineto:n { 0cm , 4cm }
+          \draw_path_lineto:n { 4cm , 4cm }
+          \draw_path_lineto:n { 4cm , 0cm }
+          \draw_path_close:
+          \draw_color_fill:n { red }
+          \draw_path_use:n {#2}
+        \draw_end:
+      }
+    \box_show:N \l_tmpa_box
+  }
+
+\START
+
+\TEST { stroke }
+  {
+    \test:n { stroke }
+  }
+
+\TEST { fill }
+  {
+    \test:n { fill }
+  }
+
+\TEST { draw }
+  {
+    \test:n { draw }
+  }
+
+\TEST { fill, stroke }
+  {
+    \test:n { fill , stroke }
+  }
+
+\TEST { clip;fill }
+  {
+    \test:nn { clip } { fill }
+  }
+
+\END
diff --git a/l3experimental/l3draw/testfiles/m3draw007.ptex.tlg b/l3experimental/l3draw/testfiles/m3draw007.ptex.tlg
new file mode 100644
index 0000000..558bc8a
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw007.ptex.tlg
@@ -0,0 +1,153 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal S}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 2: fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal f}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 3: draw
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal S}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 4: fill,stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal B}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 5: clip;fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal W}
+....\special{pdf:literal n}
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal f}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
diff --git a/l3experimental/l3draw/testfiles/m3draw007.tlg b/l3experimental/l3draw/testfiles/m3draw007.tlg
new file mode 100644
index 0000000..95742fa
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw007.tlg
@@ -0,0 +1,158 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfsave
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 J}
+...\pdfliteral{0 j}
+...\pdfliteral{10 M}
+...\pdfliteral{[] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\pdfcolorstack 0 push {1 0 0 rg}
+....\pdfliteral{0 0 m}
+....\pdfliteral{0 113.38582 l}
+....\pdfliteral{113.38582 113.38582 l}
+....\pdfliteral{113.38582 0 l}
+....\pdfliteral{h}
+....\pdfliteral{S}
+....\pdfcolorstack 0 pop
+...\pdfrestore
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 2: fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\pdfsave
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 J}
+...\pdfliteral{0 j}
+...\pdfliteral{10 M}
+...\pdfliteral{[] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\pdfcolorstack 0 push {1 0 0 rg}
+....\pdfliteral{0 0 m}
+....\pdfliteral{0 113.38582 l}
+....\pdfliteral{113.38582 113.38582 l}
+....\pdfliteral{113.38582 0 l}
+....\pdfliteral{h}
+....\pdfliteral{f}
+....\pdfcolorstack 0 pop
+...\pdfrestore
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 3: draw
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfsave
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 J}
+...\pdfliteral{0 j}
+...\pdfliteral{10 M}
+...\pdfliteral{[] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\pdfcolorstack 0 push {1 0 0 rg}
+....\pdfliteral{0 0 m}
+....\pdfliteral{0 113.38582 l}
+....\pdfliteral{113.38582 113.38582 l}
+....\pdfliteral{113.38582 0 l}
+....\pdfliteral{h}
+....\pdfliteral{S}
+....\pdfcolorstack 0 pop
+...\pdfrestore
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 4: fill,stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfsave
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 J}
+...\pdfliteral{0 j}
+...\pdfliteral{10 M}
+...\pdfliteral{[] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\pdfcolorstack 0 push {1 0 0 rg}
+....\pdfliteral{0 0 m}
+....\pdfliteral{0 113.38582 l}
+....\pdfliteral{113.38582 113.38582 l}
+....\pdfliteral{113.38582 0 l}
+....\pdfliteral{h}
+....\pdfliteral{B}
+....\pdfcolorstack 0 pop
+...\pdfrestore
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 5: clip;fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\pdfsave
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 J}
+...\pdfliteral{0 j}
+...\pdfliteral{10 M}
+...\pdfliteral{[] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\pdfliteral{0 0 m}
+....\pdfliteral{0 113.38582 l}
+....\pdfliteral{113.38582 0 l}
+....\pdfliteral{h}
+....\pdfliteral{W}
+....\pdfliteral{n}
+....\pdfcolorstack 0 push {1 0 0 rg}
+....\pdfliteral{0 0 m}
+....\pdfliteral{0 113.38582 l}
+....\pdfliteral{113.38582 113.38582 l}
+....\pdfliteral{113.38582 0 l}
+....\pdfliteral{h}
+....\pdfliteral{f}
+....\pdfcolorstack 0 pop
+...\pdfrestore
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
diff --git a/l3experimental/l3draw/testfiles/m3draw007.uptex.tlg b/l3experimental/l3draw/testfiles/m3draw007.uptex.tlg
new file mode 100644
index 0000000..558bc8a
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw007.uptex.tlg
@@ -0,0 +1,153 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal S}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 2: fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal f}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 3: draw
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal S}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 4: fill,stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal B}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 5: clip;fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal W}
+....\special{pdf:literal n}
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal f}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
diff --git a/l3experimental/l3draw/testfiles/m3draw007.xetex.tlg b/l3experimental/l3draw/testfiles/m3draw007.xetex.tlg
new file mode 100644
index 0000000..558bc8a
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw007.xetex.tlg
@@ -0,0 +1,153 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal S}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 2: fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal f}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 3: draw
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal S}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 4: fill,stroke
+============================================================
+> \box...=
+\hbox(114.21101+0.0)x114.21101
+.\hbox(114.21101+0.0)x114.21101
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal B}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================
+============================================================
+TEST 5: clip;fill
+============================================================
+> \box...=
+\hbox(113.81102+0.0)x113.81102
+.\hbox(113.81102+0.0)x113.81102
+..\glue 0.0
+..\hbox(0.0+0.0)x0.0
+...\special{x:gsave}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 J}
+...\special{pdf:literal 0 j}
+...\special{pdf:literal 10 M}
+...\special{pdf:literal [] 0 d}
+...\hbox(0.0+0.0)x0.0
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal W}
+....\special{pdf:literal n}
+....\special{pdf:literal 1 0 0 rg}
+....\special{pdf:literal 0 0 m}
+....\special{pdf:literal 0 113.38582 l}
+....\special{pdf:literal 113.38582 113.38582 l}
+....\special{pdf:literal 113.38582 0 l}
+....\special{pdf:literal h}
+....\special{pdf:literal f}
+...\special{x:grestore}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box 
+l. ...  }
+============================================================





More information about the latex3-commits mailing list