#include <SkSVGRenderContext.h>
Definition at line 99 of file SkSVGRenderContext.h.
◆ BorrowedNode()
SkSVGRenderContext::BorrowedNode::BorrowedNode |
( |
sk_sp< SkSVGNode > * |
node | ) |
|
|
inlineexplicit |
Definition at line 101 of file SkSVGRenderContext.h.
102 : fOwner(node) {
103 if (fOwner) {
104 fBorrowed = std::move(*fOwner);
105 *fOwner = nullptr;
106 }
107 }
◆ ~BorrowedNode()
SkSVGRenderContext::BorrowedNode::~BorrowedNode |
( |
| ) |
|
|
inline |
Definition at line 109 of file SkSVGRenderContext.h.
109 {
110 if (fOwner) {
111 *fOwner = std::move(fBorrowed);
112 }
113 }
◆ get()
const SkSVGNode * SkSVGRenderContext::BorrowedNode::get |
( |
| ) |
const |
|
inline |
◆ operator bool()
SkSVGRenderContext::BorrowedNode::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator*()
const SkSVGNode & SkSVGRenderContext::BorrowedNode::operator* |
( |
| ) |
const |
|
inline |
◆ operator->()
const SkSVGNode * SkSVGRenderContext::BorrowedNode::operator-> |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: