Flutter Engine
The Flutter Engine
SkSGNodePriv.h
Go to the documentation of this file.
1/*
2 * Copyright 2019 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkSGNodePriv_DEFINED
9#define SkSGNodePriv_DEFINED
10
12
13namespace sksg {
14
15// Helper for accessing implementation-private Node methods.
16class NodePriv final {
17public:
18
19 static bool HasInval(const sk_sp<Node>& node) { return node->hasInval(); }
20
21private:
22 NodePriv() = delete;
23};
24
25} // namespace sksg
26
27#endif // SkSGNodePriv_DEFINED
static bool HasInval(const sk_sp< Node > &node)
Definition: SkSGNodePriv.h:19
Definition: Skottie.h:32