blob: 1ce0cc62e80fce46750ab783eccbfaf92bb9a2f9 [file] [log] [blame]
/*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkSGNodePriv_DEFINED
#define SkSGNodePriv_DEFINED
#include "modules/sksg/include/SkSGNode.h"
namespace sksg {
// Helper for accessing implementation-private Node methods.
class NodePriv final {
public:
static bool HasInval(const sk_sp<Node>& node) { return node->hasInval(); }
private:
NodePriv() = delete;
};
} // namespace sksg
#endif // SkSGNodePriv_DEFINED