aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/SkSGGeometryNode.cpp
blob: 6ac7eda6a461fd5678f83150aef56527f40668d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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 "SkSGGeometryNode.h"

namespace sksg {

void GeometryNode::draw(SkCanvas* canvas, const SkPaint& paint) const {
    SkASSERT(!this->hasInval());
    this->onDraw(canvas, paint);
}

} // namespace sksg