[latex3-commits] [l3svn] 07/10: Clipping should be global

noreply at latex-project.org noreply at latex-project.org
Thu May 19 21:01:28 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 d56d883805d62bc3fc716c6672177c6045754107
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu May 19 19:49:39 2016 +0100

    Clipping should be global
---
 l3kernel/l3drivers.dtx |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 6754674..0157b78 100755
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -1442,7 +1442,7 @@
 %     \@@_draw_clip:        ,
 %     \@@_draw_discardpath:
 %   }
-% \begin{variable}[aux]{\l_@@_draw_clip_bool}
+% \begin{variable}[aux]{\g_@@_draw_clip_bool}
 %   Unlike PDF, PostScript doesn't track separate colors for strokes and other
 %   elements. It is also desirable to have the |clip| keyword after a stroke or
 %   fill. To achieve those outcomes, there is some work to do. For color, if a
@@ -1460,7 +1460,7 @@
     \@@_draw_literal:n { currentdict~/l3sc~known~{gsave~l3sc}~if }
     \@@_draw_literal:n { stroke }
     \@@_draw_literal:n { currentdict~/l3sc~known~{grestore}~if }
-    \bool_if:NT \l_@@_draw_clip_bool
+    \bool_if:NT \g_@@_draw_clip_bool
       {
         \@@_draw_literal:x
           {
@@ -1469,7 +1469,7 @@
           }
       }
     \@@_draw_literal:n { newpath }
-    \bool_set_false:N \l_@@_draw_clip_bool
+    \bool_gset_false:N \g_@@_draw_clip_bool
   }
 \cs_new_protected_nopar:Npn \@@_draw_closestroke:
   {
@@ -1485,7 +1485,7 @@
         fill
       }
     \@@_draw_literal:n { currentdict~/l3fc~known~{grestore}~if }
-    \bool_if:NT \l_@@_draw_clip_bool
+    \bool_if:NT \g_@@_draw_clip_bool
       {
         \@@_draw_literal:x
           {
@@ -1494,7 +1494,7 @@
           }
       }
     \@@_draw_literal:n { newpath }
-    \bool_set_false:N \l_@@_draw_clip_bool
+    \bool_gset_false:N \g_@@_draw_clip_bool
   }
 \cs_new_protected_nopar:Npn \@@_draw_fillstroke:
   {
@@ -1508,7 +1508,7 @@
     \@@_draw_literal:n { currentdict~/l3sc~known~{gsave~l3sc}~if }
     \@@_draw_literal:n { stroke }
     \@@_draw_literal:n { currentdict~/l3sc~known~{grestore}~if }
-    \bool_if:NT \l_@@_draw_clip_bool
+    \bool_if:NT \g_@@_draw_clip_bool
       {
         \@@_draw_literal:x
           {
@@ -1517,14 +1517,14 @@
           }
       }
     \@@_draw_literal:n { newpath }
-    \bool_set_false:N \l_@@_draw_clip_bool
+    \bool_gset_false:N \g_@@_draw_clip_bool
   }
 \cs_new_protected_nopar:Npn \@@_draw_clip:
-  { \bool_set_true:N \l_@@_draw_clip_bool }
-\bool_new:N \l_@@_draw_clip_bool 
+  { \bool_gset_true:N \g_@@_draw_clip_bool }
+\bool_new:N \g_@@_draw_clip_bool
 \cs_new_protected_nopar:Npn \@@_draw_discardpath:
   {
-    \bool_if:NT \l_@@_draw_clip_bool
+    \bool_if:NT \g_@@_draw_clip_bool
       {
         \@@_draw_literal:x
           {
@@ -1533,7 +1533,7 @@
           }
       }
     \@@_draw_literal:n { newpath }
-    \bool_set_false:N \l_@@_draw_clip_bool
+    \bool_gset_false:N \g_@@_draw_clip_bool
   }
 %    \end{macrocode}
 % \end{variable}
@@ -2108,7 +2108,7 @@
 %     \@@_draw_clip:        ,
 %     \@@_draw_discardpath:
 %   }
-% \begin{variable}[aux]{\l_@@_draw_clip_bool}
+% \begin{variable}[aux]{\g_@@_draw_clip_bool}
 % \begin{variable}[aux]{\g_@@_draw_path_int}
 %   Setting fill and stroke effects and doing clipping all has to be done using
 %   scopes. This means setting up the various requirements in a shared

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


More information about the latex3-commits mailing list