[latex3-commits] [l3svn] 05/05: More drawing driver docs

noreply at latex-project.org noreply at latex-project.org
Wed May 18 22:55:48 CEST 2016


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

joseph pushed a commit to branch master
in repository l3svn.

commit 9d2d2cf089aec5bdc97f0ed2befdc64c22f9c6be
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed May 18 21:43:42 2016 +0100

    More drawing driver docs
    
    This more or less covers things for this first 'round'.
---
 l3kernel/l3drivers.dtx |   79 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 77cf001..cf164f5 100755
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -372,6 +372,85 @@
 %   PDF and PostScript manuals.
 % \end{function}
 %
+% \subsection{Color}
+%
+% \begin{function}
+%   {
+%     \__driver_draw_color_cmyk:nnnn ,
+%     \__driver_draw_color_cmyk_fill:nnnn ,
+%     \__driver_draw_color_cmyk_stroke:nnnn
+%   }
+%   \begin{syntax}
+%     \cs{__driver_draw_color_cmyk:nnnn} \Arg{cyan} \Arg{magneta} \Arg{yellow}
+%       \Arg{black}
+%   \end{syntax}
+%   Sets the color for drawing to the CMYK values specified, all of which are
+%   fp expressions which should evaluate to between $0$ and $1$. The
+%   \texttt{fill} and \texttt{stroke} versions set only the color for those
+%   operations. Note that the general setting is more efficient with some
+%   drivers so should in most cases be preferred.
+% \end{function}
+%
+% \begin{function}
+%   {
+%     \__driver_draw_color_gray:n ,
+%     \__driver_draw_color_gray_fill:n ,
+%     \__driver_draw_color_gray_stroke:n
+%   }
+%   \begin{syntax}
+%     \cs{__driver_draw_color_gray:n} \Arg{gray}
+%   \end{syntax}
+%   Sets the color for drawing to the grayscale value specified, which is
+%   fp expressions which should evaluate to between $0$ and $1$. The
+%   \texttt{fill} and \texttt{stroke} versions set only the color for those
+%   operations. Note that the general setting is more efficient with some
+%   drivers so should in most cases be preferred.
+% \end{function}
+%
+% \begin{function}
+%   {
+%     \__driver_draw_color_rgb:nnn ,
+%     \__driver_draw_color_rgb_fill:nnn ,
+%     \__driver_draw_color_rgb_stroke:nnn
+%   }
+%   \begin{syntax}
+%     \cs{__driver_draw_color_gray:n} \Arg{red} \Arg{green} \Arg{blue}
+%   \end{syntax}
+%   Sets the color for drawing to the RGB values specified, all of which are
+%   fp expressions which should evaluate to between $0$ and $1$. The
+%   \texttt{fill} and \texttt{stroke} versions set only the color for those
+%   operations. Note that the general setting is more efficient with some
+%   drivers so should in most cases be preferred.
+% \end{function}
+%
+% \subsection{Inserting \TeX{} material}
+%
+% \begin{function}{\__driver_draw_hbox:nnnnnn}
+%   \begin{syntax}
+%     \cs{__driver_draw_hbox:Nnnnnnn} \meta{box}
+%       \Arg{a} \Arg{b} \Arg{c} \Arg{d} \Arg{x} \Arg{y}
+%   \end{syntax}
+%   Inserts the \meta{box} as an hbox with the box reference point placed
+%   at ($x$, $y$). The transformation matrix $[a b c d]$ will be applied
+%   to the box, allowing it to be in synchronisation with any scaling, rotation
+%   or skewing applying more generally. Note that \TeX{} material should not
+%   be inserted directly into a drawing as it will not be in the correct
+%   location. Also note that as for other drawing elements the box here will
+%   have no size from a \TeX{} perspective.
+% \end{function}
+%
+% \subsection{Coordinate system transformations}
+%
+% \begin{function}{\__driver_draw_transformcm:nnnnnn}
+%   \begin{syntax}
+%     \cs{__driver_draw_transformcm:nnnnnn} \Arg{a} \Arg{b} \Arg{c} \Arg{d}
+%       \Arg{x} \Arg{y}
+%   \end{syntax}
+%   Applies the transformation matrix $[a b c d]$ and offset vector
+%   ($x$, $y$) to the current graphic state. This will affect any subsequent
+%   items in the same scope but not those already given.
+% \end{function}
+%
 % \end{documentation}
 %
 % \begin{implementation}

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


More information about the latex3-commits mailing list