Skia
2D Graphics Library
|
Go to the source code of this file.
Enumerations | |
enum class | SkCoverageMode { kUnion , kIntersect , kDifference , kReverseDifference , kXor , kLast = kXor } |
Describes geometric operations (ala SkRegion::Op) that can be applied to coverage bytes. More... | |
|
strong |
Describes geometric operations (ala SkRegion::Op) that can be applied to coverage bytes.
These can be thought of as variants of porter-duff (SkBlendMode) modes, but only applied to the alpha channel.
See SkMaskFilter for ways to use these when combining two different masks.
Enumerator | |
---|---|
kUnion | |
kIntersect | |
kDifference | |
kReverseDifference | |
kXor | |
kLast |