[latex3-commits] [git/LaTeX3-latex3-latex3] master: Dcoument boxes in drawings (8181b1e)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Mar 3 23:25:06 CET 2018


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

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

commit 8181b1e02d94dfda32f54737bef008baa885dda3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Mar 3 22:25:06 2018 +0000

    Dcoument boxes in drawings


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

8181b1e02d94dfda32f54737bef008baa885dda3
 l3experimental/l3draw/l3draw.dtx |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/l3experimental/l3draw/l3draw.dtx b/l3experimental/l3draw/l3draw.dtx
index ac55ab1..8336dad 100644
--- a/l3experimental/l3draw/l3draw.dtx
+++ b/l3experimental/l3draw/l3draw.dtx
@@ -861,6 +861,27 @@
 %   are given as canvas points.
 % \end{function}
 %
+% \subsection{Text}
+%
+% \begin{function}{\draw_hbox_set:Nn}
+%   \begin{syntax}
+%     \cs{draw_hbox_set:Nn} \meta{box} \Arg{content}
+%   \end{syntax}
+%   Sets the \meta{box} to contain the \meta{content} in a form suitable for
+%   insertion into a drawing. Broadly, the box contents set up in this way
+%   are augmented compared to using \cs{hbox_set:Nn}, to ensure that the
+%   interaction between the box and the drawing are correct.
+% \end{function}
+%
+% \begin{function}{\draw_hbox_use:N}
+%   \begin{syntax}
+%     \cs{draw_hbox_use:N} \meta{box}
+%   \end{syntax}
+%   Inserts the \meta{box} 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.
+% \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