previous   Path UnionPath Intersection   next


Exclusive Or Function

Multiple or 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 ||, the new path or has the same styles as the 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 ||. 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 color 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 UnionPath Intersection   next