blob: ec5f8a199afe4023f718102335244a28b3a52e72 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "pdf/ink/stub/ink_skia_renderer_stub.h"
#include <memory>
namespace chrome_pdf {
// static
std::unique_ptr<InkSkiaRenderer> InkSkiaRenderer::Create() {
return std::make_unique<InkSkiaRendererStub>();
}
bool InkSkiaRendererStub::Draw(const InkInProgressStroke& stroke,
const InkAffineTransform& object_to_canvas,
SkCanvas& canvas) {
return true;
}
bool InkSkiaRendererStub::Draw(const InkStroke& stroke,
const InkAffineTransform& object_to_canvas,
SkCanvas& canvas) {
return true;
}
} // namespace chrome_pdf