Struct tiny_skia::ClipMask [−][src]
pub struct ClipMask { /* fields omitted */ }
Expand description
A clipping mask.
Unlike Skia, we’re using just a simple 8bit alpha mask. It’s way slower, but times easier to implement.
Implementations
Sets the current clipping path.
Not additive. Overwrites the previous data.
Path must be transformed beforehand.
Intersects the provided path with the current clipping path.
Path must be transformed beforehand.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClipMask
impl UnwindSafe for ClipMask
Blanket Implementations
Mutably borrows from an owned value. Read more