pub struct ClipPath {
pub path: Path,
pub transform: Affine2D,
pub rebuilt: bool,
}Expand description
An arbitrary clip region: a path and the transform to display space.
Fields§
§path: PathThe region’s outline.
transform: Affine2DMaps path to display coordinates.
rebuilt: boolWhether the outline is made anew each time a renderer is handed
it, as matplotlib’s fancy boxes and arrows build a new Path at
every get_path: a renderer that keeps the last clip path it
rasterized (matplotlib’s Agg, which knows a path by its vertex
array) never finds such an outline among those it kept.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ClipPath
Auto Trait Implementations§
impl Forget for ClipPath
impl Freeze for ClipPath
impl Move for ClipPath
impl RefUnwindSafe for ClipPath
impl Send for ClipPath
impl Sync for ClipPath
impl Unpin for ClipPath
impl UnsafeUnpin for ClipPath
impl UnwindSafe for ClipPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more