chromium/third_party/blink/renderer/modules/canvas/canvas2d/clip_list.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/modules/canvas/canvas2d/clip_list.h"

#include "cc/paint/paint_canvas.h"
#include "third_party/blink/renderer/platform/graphics/graphics_types.h"
#include "third_party/skia/include/core/SkClipOp.h"
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/pathops/SkPathOps.h"

class SkMatrix;

namespace blink {

ClipList::ClipList(const ClipList& other) = default;

void ClipList::ClipPath(const SkPath& path,
                        AntiAliasingMode anti_aliasing_mode,
                        const SkMatrix& ctm) {}

void ClipList::Playback(cc::PaintCanvas* canvas) const {}

SkPath ClipList::IntersectPathWithClip(const SkPath& path) const {}

ClipList::ClipOp::ClipOp() :{}

ClipList::ClipOp::ClipOp(const ClipOp&) = default;

ClipList::ClipOp& ClipList::ClipOp::operator=(const ClipOp&) = default;

}  // namespace blink