Definition at line 18 of file SkSGNode.cpp.
◆ ScopedFlag()
sksg::Node::ScopedFlag::ScopedFlag |
( |
Node * |
node, |
|
|
uint32_t |
flag |
|
) |
| |
|
inline |
Definition at line 20 of file SkSGNode.cpp.
21 : fNode(node)
23 , fWasSet(node->fFlags &
flag) {
25 }
FlutterSemanticsFlag flag
◆ ~ScopedFlag()
sksg::Node::ScopedFlag::~ScopedFlag |
( |
| ) |
|
|
inline |
Definition at line 26 of file SkSGNode.cpp.
26 {
27 if (!fWasSet) {
28 fNode->fFlags &= ~fFlag;
29 }
30 }
◆ wasSet()
bool sksg::Node::ScopedFlag::wasSet |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: