chromium/third_party/skia/src/core/SkDrawable.cpp

/*
 * Copyright 2014 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/SkDrawable.h"

#include "include/core/SkCanvas.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPicture.h"  // IWYU pragma: keep
#include "include/core/SkPictureRecorder.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"

#include <atomic>
#include <cstddef>
#include <cstdint>

static int32_t next_generation_id() {}

SkDrawable::SkDrawable() :{}

static void draw_bbox(SkCanvas* canvas, const SkRect& r) {}

void SkDrawable::draw(SkCanvas* canvas, const SkMatrix* matrix) {}

void SkDrawable::draw(SkCanvas* canvas, SkScalar x, SkScalar y) {}

sk_sp<SkPicture> SkDrawable::makePictureSnapshot() {}

uint32_t SkDrawable::getGenerationID() {}

SkRect SkDrawable::getBounds() {}

size_t SkDrawable::approximateBytesUsed() {}
size_t SkDrawable::onApproximateBytesUsed() {}

void SkDrawable::notifyDrawingChanged() {}

/////////////////////////////////////////////////////////////////////////////////////////

sk_sp<SkPicture> SkDrawable::onMakePictureSnapshot() {}