chromium/third_party/blink/renderer/core/testing/sim/sim_canvas.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/testing/sim/sim_canvas.h"

#include "third_party/blink/renderer/platform/geometry/infinite_int_rect.h"
#include "third_party/blink/renderer/platform/graphics/color.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "third_party/skia/include/core/SkRect.h"

namespace blink {

size_t SimCanvas::Commands::DrawCount(CommandType type,
                                      const String& color_string) const {}

static int g_depth =;

class DrawScope {};

SimCanvas::SimCanvas()
    :{}

void SimCanvas::AddCommand(CommandType type, RGBA32 color) {}

void SimCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) {}

void SimCanvas::onDrawOval(const SkRect& oval, const SkPaint& paint) {}

void SimCanvas::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) {}

void SimCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) {}

void SimCanvas::onDrawImage2(const SkImage* image,
                             SkScalar left,
                             SkScalar top,
                             const SkSamplingOptions& sampling,
                             const SkPaint* paint) {}

void SimCanvas::onDrawImageRect2(const SkImage* image,
                                 const SkRect& src,
                                 const SkRect& dst,
                                 const SkSamplingOptions& sampling,
                                 const SkPaint* paint,
                                 SrcRectConstraint constraint) {}

void SimCanvas::onDrawTextBlob(const SkTextBlob* blob,
                               SkScalar x,
                               SkScalar y,
                               const SkPaint& paint) {}

}  // namespace blink