diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-points.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-points.dtx | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-points.dtx b/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-points.dtx index 69ca8b6ae73..9e713f30464 100644 --- a/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-points.dtx +++ b/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-points.dtx @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018/03/05} +% \date{Released 2018-04-30} % % \maketitle % @@ -64,7 +64,9 @@ % and return a co-ordinate pair in the form |{|\meta{x}|}{|\meta{y}|}|. % Equivalents of following \pkg{pgf} functions are deliberately omitted: % \begin{itemize} -% \item \cs{pgfpointorigin}: Can be given explicitly as |{0pt}{0pt}|. +% \item \cs{pgfpointorigin}: Can be given explicitly as |0pt,0pt|. +% \item \cs{pgfpoint}, \cs{pgfpointadd}, \cs{pgfpointdiff}, +% \cs{pgfpointscale}: Can be given explicitly. % \item \cs{pgfextractx}, \cs{pgfextracty}: Available by applying % \cs{use_i:nn}/\cs{use_ii:nn} or similar to the \texttt{x}-type % expansion of a point expression. @@ -145,18 +147,6 @@ % \end{macro} % \end{macro} % -% \subsection{Co-ordinates} -% -% The most basic way of giving points is as simple $(x,y)$ co-ordinates. -% -% \begin{macro}[EXP]{\draw_point:nn} -% Simply turn the given values into dimensions. -% \begin{macrocode} -\cs_new:Npn \draw_point:nn #1#2 - { \@@_point_to_dim:n { #1 , #2 } } -% \end{macrocode} -% \end{macro} -% % \subsection{Polar co-ordinates} % % \begin{macro}[EXP]{\draw_point_polar:nn} @@ -182,19 +172,6 @@ % % These functions all take point expressions as arguments. % -% \begin{macro}[EXP] -% {\draw_point_add:nn, \draw_point_diff:nn, \draw_point_scale:nn} -% Simple mathematics. -% \begin{macrocode} -\cs_new:Npn \draw_point_add:nn #1#2 - { \@@_point_to_dim:n { (#1) + (#2) } } -\cs_new:Npn \draw_point_diff:nn #1#2 - { \@@_point_to_dim:n { (#2) - (#1) } } -\cs_new:Npn \draw_point_scale:nn #1#2 - { \@@_point_to_dim:n { #1 * (#2) } } -% \end{macrocode} -% \end{macro} -% % \begin{macro}[EXP]{\draw_point_unit_vector:n} % \begin{macro}[EXP]{\@@_point_unit_vector:nn} % Only a single point expression so the expansion is done here. The |