![]() |
Skia
2D Graphics Library
|
#include "include/core/SkTypes.h"
Go to the source code of this file.
Enumerations | |
enum | SkCoverageMode { SkCoverageMode::kUnion, SkCoverageMode::kIntersect, SkCoverageMode::kDifference, SkCoverageMode::kReverseDifference, SkCoverageMode::kXor, SkCoverageMode::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 |