CanvasComposite
enum · ferroui-base · v0.5.0
enum CanvasComposite
How a composite effect combines its sources (Win2D CanvasComposite):
each source is composed onto what the sources before it made.
Every mode is drawn: the Porter-Duff modes with the blend layers of the
drawing contexts, MaskInvert from the pixels of the sources drawn
apart (winui-materials.md).
Members
SourceOverDestinationOverSourceInDestinationInSourceOutDestinationOutSourceAtopDestinationAtopXorAddCopyBoundedCopyMaskInvert
SourceOver
SourceOver = 0
Each source drawn over the previous ones (the Win2D default).
DestinationOver
DestinationOver = 1
SourceIn
SourceIn = 2
DestinationIn
DestinationIn = 3
SourceOut
SourceOut = 4
DestinationOut
DestinationOut = 5
SourceAtop
SourceAtop = 6
DestinationAtop
DestinationAtop = 7
Xor
Xor = 8
Add
Add = 9
Copy
Copy = 10
BoundedCopy
BoundedCopy = 11
MaskInvert
MaskInvert = 12
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.