#include "third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.h"
#include <memory>
#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/renderer/core/geometry/dom_matrix.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_canvas.h"
namespace blink {
PaintRenderingContext2D::PaintRenderingContext2D(
const gfx::Size& container_size,
const PaintRenderingContext2DSettings* context_settings,
float zoom,
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
PaintWorkletGlobalScope* global_scope)
: … { … }
void PaintRenderingContext2D::InitializeForRecording(
cc::PaintCanvas* canvas) const { … }
void PaintRenderingContext2D::RecordingCleared() { … }
int PaintRenderingContext2D::Width() const { … }
int PaintRenderingContext2D::Height() const { … }
Color PaintRenderingContext2D::GetCurrentColor() const { … }
double PaintRenderingContext2D::shadowBlur() const { … }
void PaintRenderingContext2D::setShadowBlur(double blur) { … }
double PaintRenderingContext2D::shadowOffsetX() const { … }
void PaintRenderingContext2D::setShadowOffsetX(double x) { … }
double PaintRenderingContext2D::shadowOffsetY() const { … }
void PaintRenderingContext2D::setShadowOffsetY(double y) { … }
const cc::PaintCanvas* PaintRenderingContext2D::GetPaintCanvas() const { … }
void PaintRenderingContext2D::WillDraw(const SkIRect&,
CanvasPerformanceMonitor::DrawType) { … }
sk_sp<PaintFilter> PaintRenderingContext2D::StateGetFilter() { … }
PredefinedColorSpace PaintRenderingContext2D::GetDefaultImageDataColorSpace()
const { … }
DOMMatrix* PaintRenderingContext2D::getTransform() { … }
void PaintRenderingContext2D::resetTransform() { … }
void PaintRenderingContext2D::reset() { … }
PaintRecord PaintRenderingContext2D::GetRecord() { … }
}