skia2/experimental/sksg/SkSGRenderNode.cpp

20 lines
360 B
C++
Raw Normal View History

/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkSGRenderNode.h"
namespace sksg {
RenderNode::RenderNode() {}
void RenderNode::render(SkCanvas* canvas) const {
SkASSERT(!this->isInvalidated());
this->onRender(canvas);
}
} // namespace sksg