About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2021-06-05: New blog post: Dickimaw Books Site Account.
Previous: Markers  Up: Line Style  Next: Text Colour  


Winding Rule

The winding rule describes how a path is filled (if it has a fill colour). The winding rule can be either even-odd or non-zero. Figure 9.14 illustrates the difference between the two winding rules. A path was constructed with a gap between the outer and inner rectangles. Figure 9.14(a) shows the effect using the even-odd winding rule and Figure 9.14(b) shows the effect using the non-zero winding rule. The winding rule is also used when extracting the parameters for \parshape and \shapepar.

   
 evenodd nonzero  
 (a) (b)  
Figure 9.14: Winding rules (arrows indicate direction of path): (a) even-odd, (b) non-zero.

See also:



Previous: Markers  Up: Line Style  Next: Text Colour  

© 2014 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs