[latex3-commits] [git/LaTeX3-latex3-latex3] master: Test drawing boxes and coffins (29a814e)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Mar 4 21:26:19 CET 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/29a814e43307e42dc61ccd31c3651dd0ab90fef9
>---------------------------------------------------------------
commit 29a814e43307e42dc61ccd31c3651dd0ab90fef9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Mar 4 20:26:09 2018 +0000
Test drawing boxes and coffins
>---------------------------------------------------------------
29a814e43307e42dc61ccd31c3651dd0ab90fef9
l3experimental/l3draw/testfiles/m3draw006.lvt | 95 ++++++
l3experimental/l3draw/testfiles/m3draw006.ptex.tlg | 351 ++++++++++++++++++++
l3experimental/l3draw/testfiles/m3draw006.tlg | 333 +++++++++++++++++++
.../l3draw/testfiles/m3draw006.uptex.tlg | 351 ++++++++++++++++++++
.../l3draw/testfiles/m3draw006.xetex.tlg | 351 ++++++++++++++++++++
5 files changed, 1481 insertions(+)
diff --git a/l3experimental/l3draw/testfiles/m3draw006.lvt b/l3experimental/l3draw/testfiles/m3draw006.lvt
new file mode 100644
index 0000000..24645ef
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw006.lvt
@@ -0,0 +1,95 @@
+%
+% Copyright (C) 2018 The LaTeX3 Project
+%
+
+\documentclass{minimal}
+\input{regression-test}
+
+\RequirePackage[check-declarations]{expl3}
+\ExplSyntaxOn
+\debug_on:n { deprecation }
+\ExplSyntaxOff
+
+\AUTHOR{Joseph Wright}
+\RequirePackage{l3draw}
+
+\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 { 10cm, 0cm }
+ \draw_path_moveto:n { 5cm, 0cm }
+ \draw_path_lineto:n { 5cm , 5cm }
+ \draw_path_use_clear:n { stroke }
+ #1
+ \draw_end:
+ }
+ \box_show:N \l_tmpa_box
+ }
+
+\START
+
+\TEST { \draw_box_use:N }
+ {
+ \test:n
+ {
+ \hbox_set:Nn \l_tmpb_box { Hello }
+ \draw_box_use:N \l_tmpb_box
+ }
+ \test:n
+ {
+ \hbox_set:Nn \l_tmpb_box { Hello }
+ \draw_transform_matrix:nnnn { 2 } { 0 } { 0 } { 2 }
+ \draw_box_use:N \l_tmpb_box
+ }
+ \test:n
+ {
+ \hbox_set:Nn \l_tmpb_box { Hello }
+ \draw_transform_matrix:nnnn { 1 } { 0 } { 1 } { 1 }
+ \draw_box_use:N \l_tmpb_box
+ }
+ \test:n
+ {
+ \hbox_set:Nn \l_tmpb_box { Hello }
+ \draw_transform_shift:n { 2cm , 2cm }
+ \draw_box_use:N \l_tmpb_box
+ }
+ }
+
+\TEST { \draw_coffin_use:N }
+ {
+ \test:n
+ {
+ \hcoffin_set:Nn \l_tmpb_coffin { Hello }
+ \draw_coffin_use:Nnn \l_tmpb_coffin { l } { B }
+ }
+ \test:n
+ {
+ \hcoffin_set:Nn \l_tmpb_coffin { Hello }
+ \draw_coffin_use:Nnn \l_tmpb_coffin { hc } { vc }
+ }
+ \test:n
+ {
+ \hcoffin_set:Nn \l_tmpb_coffin { Hello }
+ \draw_transform_matrix:nnnn { 2 } { 0 } { 0 } { 2 }
+ \draw_coffin_use:Nnn \l_tmpb_coffin { l } { B }
+ }
+ \test:n
+ {
+ \hcoffin_set:Nn \l_tmpb_coffin { Hello }
+ \draw_transform_matrix:nnnn { 1 } { 0 } { 1 } { 1 }
+ \draw_coffin_use:Nnn \l_tmpb_coffin { l } { B }
+ }
+ \test:n
+ {
+ \hcoffin_set:Nn \l_tmpb_coffin { Hello }
+ \draw_transform_shift:n { 2cm , 2cm }
+ \draw_coffin_use:Nnn \l_tmpb_coffin { l } { B }
+ }
+ }
+
+\END
diff --git a/l3experimental/l3draw/testfiles/m3draw006.ptex.tlg b/l3experimental/l3draw/testfiles/m3draw006.ptex.tlg
new file mode 100644
index 0000000..1049fc8
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw006.ptex.tlg
@@ -0,0 +1,351 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: \draw_box_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 2 2}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 31.71747}
+.....\special{x:scale 1.61803 0.61803}
+.....\special{x:rotate -58.28253}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
+============================================================
+TEST 2: \draw_coffin_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(145.936+0.0)x295.97757
+.\hbox(145.936+0.0)x295.97757
+..\glue 11.25002
+..\hbox(0.0+0.0)x0.0, shifted -3.47223
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(3.47221+3.47223)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(3.47221+3.47223)x0.0, glue set - 11.25003fil
+......\hbox(3.47221+3.47223)x11.25003
+.......\hbox(3.47221+3.47223)x11.25003
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern -11.25002
+........\hbox(6.94444+0.0)x22.50005, shifted 3.47223
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 2 2}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 31.71747}
+.....\special{x:scale 1.61803 0.61803}
+.....\special{x:rotate -58.28253}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
diff --git a/l3experimental/l3draw/testfiles/m3draw006.tlg b/l3experimental/l3draw/testfiles/m3draw006.tlg
new file mode 100644
index 0000000..0ac1ff7
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw006.tlg
@@ -0,0 +1,333 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: \draw_box_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\pdfsave
+.....\pdfsetmatrix{1 0 0 1}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\pdfsave
+.....\pdfsetmatrix{2 0 0 2}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\pdfsave
+.....\pdfsetmatrix{1 0 1 1}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\pdfsave
+.....\pdfsetmatrix{1 0 0 1}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
+============================================================
+TEST 2: \draw_coffin_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\pdfsave
+.....\pdfsetmatrix{1 0 0 1}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\pdfcolorstack 0 push {0 g 0 G}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\pdfcolorstack 0 pop
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(145.936+0.0)x295.97757
+.\hbox(145.936+0.0)x295.97757
+..\glue 11.25002
+..\hbox(0.0+0.0)x0.0, shifted -3.47223
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(3.47221+3.47223)x0.0
+.....\pdfsave
+.....\pdfsetmatrix{1 0 0 1}
+.....\hbox(3.47221+3.47223)x0.0, glue set - 11.25003fil
+......\hbox(3.47221+3.47223)x11.25003
+.......\hbox(3.47221+3.47223)x11.25003
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern -11.25002
+........\hbox(6.94444+0.0)x22.50005, shifted 3.47223
+.........\pdfcolorstack 0 push {0 g 0 G}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\pdfcolorstack 0 pop
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\pdfsave
+.....\pdfsetmatrix{2 0 0 2}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\pdfcolorstack 0 push {0 g 0 G}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\pdfcolorstack 0 pop
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\pdfsave
+.....\pdfsetmatrix{1 0 1 1}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\pdfcolorstack 0 push {0 g 0 G}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\pdfcolorstack 0 pop
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\pdfliteral{q}
+...\pdfliteral{0.3985 w}
+...\pdfcolorstack 0 push {0 g 0 G}
+...\pdfliteral{0 0 m}
+...\pdfliteral{283.46457 0 l}
+...\pdfliteral{141.73228 0 m}
+...\pdfliteral{141.73228 141.73228 l}
+...\pdfliteral{S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\pdfsave
+.....\pdfsetmatrix{1 0 0 1}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\pdfcolorstack 0 push {0 g 0 G}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\pdfcolorstack 0 pop
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\pdfrestore
+...\pdfliteral{Q}
+...\pdfcolorstack 0 pop
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
diff --git a/l3experimental/l3draw/testfiles/m3draw006.uptex.tlg b/l3experimental/l3draw/testfiles/m3draw006.uptex.tlg
new file mode 100644
index 0000000..1049fc8
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw006.uptex.tlg
@@ -0,0 +1,351 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: \draw_box_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 2 2}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 31.71747}
+.....\special{x:scale 1.61803 0.61803}
+.....\special{x:rotate -58.28253}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
+============================================================
+TEST 2: \draw_coffin_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(145.936+0.0)x295.97757
+.\hbox(145.936+0.0)x295.97757
+..\glue 11.25002
+..\hbox(0.0+0.0)x0.0, shifted -3.47223
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(3.47221+3.47223)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(3.47221+3.47223)x0.0, glue set - 11.25003fil
+......\hbox(3.47221+3.47223)x11.25003
+.......\hbox(3.47221+3.47223)x11.25003
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern -11.25002
+........\hbox(6.94444+0.0)x22.50005, shifted 3.47223
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 2 2}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 31.71747}
+.....\special{x:scale 1.61803 0.61803}
+.....\special{x:rotate -58.28253}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
diff --git a/l3experimental/l3draw/testfiles/m3draw006.xetex.tlg b/l3experimental/l3draw/testfiles/m3draw006.xetex.tlg
new file mode 100644
index 0000000..1049fc8
--- /dev/null
+++ b/l3experimental/l3draw/testfiles/m3draw006.xetex.tlg
@@ -0,0 +1,351 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: \draw_box_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 2 2}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 31.71747}
+.....\special{x:scale 1.61803 0.61803}
+.....\special{x:rotate -58.28253}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\OT1/cmr/m/n/10 H
+.......\OT1/cmr/m/n/10 e
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 l
+.......\OT1/cmr/m/n/10 o
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
+============================================================
+TEST 2: \draw_coffin_use:N
+============================================================
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(145.936+0.0)x295.97757
+.\hbox(145.936+0.0)x295.97757
+..\glue 11.25002
+..\hbox(0.0+0.0)x0.0, shifted -3.47223
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(3.47221+3.47223)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(3.47221+3.47223)x0.0, glue set - 11.25003fil
+......\hbox(3.47221+3.47223)x11.25003
+.......\hbox(3.47221+3.47223)x11.25003
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern -11.25002
+........\hbox(6.94444+0.0)x22.50005, shifted 3.47223
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 2 2}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 0.0
+....\hbox(6.94444+0.0)x0.0
+.....\special{x:gsave}
+.....\special{x:rotate 31.71747}
+.....\special{x:scale 1.61803 0.61803}
+.....\special{x:rotate -58.28253}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+> \box...=
+\hbox(142.66377+0.0)x284.92755
+.\hbox(142.66377+0.0)x284.92755
+..\glue 0.2
+..\hbox(0.0+0.0)x0.0, shifted -0.2
+...\special{pdf:literal q}
+...\special{pdf:literal 0.3985 w}
+...\special{color push gray 0}
+...\special{pdf:literal 0 0 m}
+...\special{pdf:literal 283.46457 0 l}
+...\special{pdf:literal 141.73228 0 m}
+...\special{pdf:literal 141.73228 141.73228 l}
+...\special{pdf:literal S}
+...\hbox(0.0+0.0)x0.0
+....\kern 56.90552
+....\hbox(6.94444+0.0)x0.0, shifted -56.90552
+.....\special{x:gsave}
+.....\special{x:rotate 22.5}
+.....\special{x:scale 1 1}
+.....\special{x:rotate -22.5}
+.....\hbox(6.94444+0.0)x0.0, glue set - 22.50005fil
+......\hbox(6.94444+0.0)x22.50005
+.......\hbox(6.94444+0.0)x22.50005
+........\hbox(0.0+0.0)x0.0
+........\kern 0.0
+........\kern 0.0
+........\hbox(6.94444+0.0)x22.50005
+.........\special{color push gray 0}
+.........\OT1/cmr/m/n/10 H
+.........\OT1/cmr/m/n/10 e
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 l
+.........\OT1/cmr/m/n/10 o
+.........\special{color pop}
+......\glue 0.0 plus 1.0fil minus 1.0fil
+.....\special{x:grestore}
+...\special{pdf:literal Q}
+...\special{color pop}
+! OK.
+<argument> \l_tmpa_box
+l. ... }
+============================================================
More information about the latex3-commits
mailing list