chromium/third_party/skia/modules/sksg/src/SkSGPaint.cpp

/*
 * 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 "include/core/SkShader.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTPin.h"
#include "modules/sksg/include/SkSGPaint.h"
#include "modules/sksg/include/SkSGRenderEffect.h"

#include <utility>

class SkMatrix;

namespace sksg {

// Paint nodes don't generate damage on their own, but via their aggregation ancestor Draw nodes.
PaintNode::PaintNode() :{}

SkPaint PaintNode::makePaint() const {}

sk_sp<Color> Color::Make(SkColor c) {}

Color::Color(SkColor c) :{}

SkRect Color::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) {}

void Color::onApplyToPaint(SkPaint* paint) const {}

sk_sp<ShaderPaint> ShaderPaint::Make(sk_sp<Shader> sh) {}

ShaderPaint::ShaderPaint(sk_sp<Shader> sh)
    :{}

ShaderPaint::~ShaderPaint() {}

SkRect ShaderPaint::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) {}

void ShaderPaint::onApplyToPaint(SkPaint* paint) const {}

} // namespace sksg