blob: 493631f376278fafc1c764b72bb5b3e1fe8efe74 [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_stroke_stub.h"
#include "pdf/ink/stub/ink_modeled_shape_view_stub.h"
#include "pdf/ink/stub/ink_stroke_input_batch_stub.h"
#include "pdf/ink/stub/ink_stroke_input_batch_view_stub.h"
namespace chrome_pdf {
InkStrokeStub::InkStrokeStub(SkColor brush_color,
const InkStrokeInputBatchStub& inputs)
: brush_color_(brush_color), inputs_(inputs), inputs_view_(inputs_) {}
InkStrokeStub::~InkStrokeStub() = default;
SkColor InkStrokeStub::GetBrushColor() const {
return brush_color_;
}
const InkStrokeInputBatchView& InkStrokeStub::GetInputs() const {
return inputs_view_;
}
const InkModeledShapeView& InkStrokeStub::GetShape() const {
return shape_;
}
} // namespace chrome_pdf