About
LaTeX
Free Software
Books
Consultancy
Contact
Previous: Path Union  Up: Selecting and Editing Objects  Next: Path Intersection  


Exclusive Or Function

Multiple paths or text-paths can be combined into a single path by performing an exclusive OR operation on all the selected objects using the menu item Transform->XOR Paths. At least two paths or text-paths must be selected to perform this function (or one of each). As with the merge path function, the new path or text-path has the same styles as the backmost path in the selection. For example, in Figure 8.30(a), there are three overlapping paths. The rear path has a non-zero winding rule. In Figure 8.30(b) the paths have been replaced by a single path created using the exclusive OR function. For comparison, the same three paths in Figure 8.30(a) were replaced using the merge function. The result is shown in Figure 8.30(c). Both paths in Figure 8.30(b) and Figure 8.30(c) use a non-zero winding rule, since that was used by the rear path in Figure 8.30(a).

   
 geom xorpaths geommerge  
 (a) (b) (c)  
Figure 8.30: Exclusive OR function: (a) original paths (the rear path has a non-zero winding rule, orchid fill colour and round join style); (b) the three paths in (a) have been replaced by a single path using the exclusive OR function; (c) for comparison, the three paths in (a) have been replaced by a single path using the merge paths function.

See also:



Previous: Path Union  Up: Selecting and Editing Objects  Next: Path Intersection  
© 2012 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The logo was derived from a painting by Magdalene Pritchett.