[latex3-commits] [git/LaTeX3-latex3-latex3] master: Coffins don't quite work in drawings ... (7f954fa)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Mar 4 12:39:47 CET 2018


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

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

commit 7f954fa9e1f57053825fc1b15ac6627d7b64c7ff
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Mar 4 11:39:47 2018 +0000

    Coffins don't quite work in drawings ...
    
    As the bounding box is not right: likely better to stick
    to the pgf-like approach


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

7f954fa9e1f57053825fc1b15ac6627d7b64c7ff
 l3experimental/l3draw/l3draw-boxes.dtx |   14 --------------
 l3experimental/l3draw/l3draw.dtx       |   22 ----------------------
 2 files changed, 36 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-boxes.dtx b/l3experimental/l3draw/l3draw-boxes.dtx
index 73a5cde..8f30456 100644
--- a/l3experimental/l3draw/l3draw-boxes.dtx
+++ b/l3experimental/l3draw/l3draw-boxes.dtx
@@ -118,20 +118,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{\draw_coffin_use:Nnn}
-%   A simple shortcut.
-%     \begin{macrocode}
-\cs_new_protected:Npn \draw_coffin_use:Nnn #1#2#3
-  {
-    \group_begin:
-      \hbox_set:Nn \l_@@_tmp_box
-        { \coffin_typeset:Nnnnn #1 {#2} {#3} { 0pt } { 0pt } }
-      \draw_box_use:N \l_@@_tmp_box
-    \group_end:
-  }
-%    \end{macrocode}
-% \end{macro}
-%
 %    \begin{macrocode}
 %</initex|package>
 %    \end{macrocode}
diff --git a/l3experimental/l3draw/l3draw.dtx b/l3experimental/l3draw/l3draw.dtx
index 41cead4..10bc659 100644
--- a/l3experimental/l3draw/l3draw.dtx
+++ b/l3experimental/l3draw/l3draw.dtx
@@ -933,28 +933,6 @@
 %   \end{demo}
 % \end{function}
 %
-% \begin{function}{\draw_coffin_use:Nnn}
-%   \begin{syntax}
-%     \cs{draw_coffin_use:N} \meta{coffin} \Arg{hpole} \Arg{vpole}
-%   \end{syntax}
-%   Inserts the \meta{coffin} into a drawing, taking account of the current
-%   transformation matrix and shift, and adjusting the drawing bounding
-%   box to contain the (apparent) size of the box if this is active
-%   (see \cs{l_draw_bb_update_bool}). The alignment point of the coffin to
-%   the origin is specified by the intersection of the \meta{hpole} and the
-%   \meta{vpole}.
-%   \begin{demo}
-%     \draw_begin:
-%       \draw_path_moveto:n { 0cm , 0cm }
-%       \draw_path_lineto:n { 0cm , 1cm }
-%       \draw_path_use_clear:n { stroke }
-%       \hcoffin_set:Nn \l_tmpa_coffin
-%         { This~is~text. }
-%       \draw_coffin_use:Nnn \l_tmpa_coffin { hc } { vc }
-%     \draw_end:
-%   \end{demo}
-% \end{function}
-%
 % \subsection{Color}
 %
 % \begin{function}{\draw_color:n, \draw_color_fill:n, \draw_color_stroke:n}





More information about the latex3-commits mailing list