Apply a clipping context to the current viewport.
This function is intended to be used similarly to
grid.clip. The only difference is that a non-rectangular
clipping region can be applied.
A graphics object, used as the definition of a clipping path.
A label for a defined reference.
A character identifier for the grob applying the clipping context.
A logical value indicating whether graphics output should be produced.
label is specified, uses a clipping path that has been
clippath is specified
it will be used as the new clipping context for the current
viewport. If both are specified, it will attempt to define the
clipping path with the given label, as well as adding the clipping
path as a clipping context for the current viewport.
popClipPath is an alias for
pushClipPath grob. The value is returned invisibly.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.