diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-03 22:30:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-03 22:30:06 +0000 |
commit | 6c87d764952f4d6eb0d273c68f6033a0b5536fdb (patch) | |
tree | 548aa554eae6bc4f978cd66f64ab45874a3d3bd5 /Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-paths.dtx | |
parent | 5139fa11fc380bdb1d620afffda047044c55ef7a (diff) |
l3 (3may19)
git-svn-id: svn://tug.org/texlive/trunk@50972 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-paths.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-paths.dtx | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-paths.dtx b/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-paths.dtx index 3cded354fe2..874d1910d09 100644 --- a/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-paths.dtx +++ b/Master/texmf-dist/source/latex/l3experimental/l3draw/l3draw-paths.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2019-03-05} +% \date{Released 2019-05-03} % % \maketitle % @@ -880,7 +880,7 @@ { \bool_set_true:c { l_@@_path_use_ ##1 _ bool } } { \cs_if_exist_use:cF { @@_path_use_action_ ##1 : } - { \ERROR } + { \msg_error:nnn { draw } { invalid-path-action } {##1} } } } \@@_softpath_round_corners: @@ -888,11 +888,15 @@ { \l_draw_bb_update_bool } { \l_@@_path_use_stroke_bool } { \@@_path_use_stroke_bb: } - \bool_if:NTF \l_@@_path_use_clear_bool - { \@@_softpath_use_clear: } - { \@@_softpath_use: } + \@@_softpath_use: \bool_if:NT \l_@@_path_use_clip_bool - { \driver_draw_clip: } + { + \driver_draw_clip: + \bool_lazy_or:nnF + { \l_@@_path_use_fill_bool } + { \l_@@_path_use_stroke_bool } + { \driver_draw_discardpath: } + } \bool_lazy_or:nnT { \l_@@_path_use_fill_bool } { \l_@@_path_use_stroke_bool } @@ -905,6 +909,8 @@ : } } + \bool_if:NT \l_@@_path_use_clear_bool + { \@@_softpath_clear: } } \cs_new_protected:Npn \@@_path_use_action_draw: { @@ -1016,6 +1022,12 @@ % \end{macrocode} % \end{macro} % +% \begin{macrocode} +\msg_new:nnnn { draw } { invalid-path-action } + { Invalid~action~'#1'~for~path. } + { Paths~can~be~used~with~actions~'draw',~'clip',~'fill'~or~'stroke'. } +% \end{macrocode} +% % \begin{macrocode} %</initex|package> % \end{macrocode} |