reduceGrob returns a gTree with two children, one
representing the open shapes within the result and one representing the
closed shapes within the result.
grid.reduce is only used for its side-effect of drawing
on the current graphics device.
Arguments
x
A grob, gList, or gTree, or a gPath or a character value
identifying a grob that has already been drawn.
op
A character value describing the operation. One of
"intersection", "minus", "union",
"xor", or "flatten".
openFn
The function used to create grobs from the open shapes in the result.
closedFn
The function used to create grobs from the closed shapes in the
result.
name
A name for the resulting grob.
gp
Graphical parameter settings for the resulting grob.
...
For reduceGrob, arguments passed on to polyclip.
For grid.reduce, arguments used by methods.
Author
Paul Murrell
Details
Multiple shapes are combined using polyclip() and the
specified operator op.