chromium/third_party/skia/src/core/SkRasterClip.cpp

/*
 * Copyright 2010 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/core/SkRasterClip.h"

#include "include/core/SkBlendMode.h"
#include "include/core/SkClipOp.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPath.h"
#include "include/core/SkScalar.h"
#include "include/private/base/SkDebug.h"
#include "src/core/SkRegionPriv.h"

class SkBlitter;

SkRasterClip::SkRasterClip(const SkRasterClip& that)
        :{}

SkRasterClip& SkRasterClip::operator=(const SkRasterClip& that) {}

SkRasterClip::SkRasterClip(const SkRegion& rgn) :{}

SkRasterClip::SkRasterClip(const SkIRect& bounds) :{}

SkRasterClip::SkRasterClip() {}

SkRasterClip::SkRasterClip(const SkPath& path, const SkIRect& bounds, bool doAA) {}

SkRasterClip::~SkRasterClip() {}

bool SkRasterClip::setEmpty() {}

bool SkRasterClip::setRect(const SkIRect& rect) {}

/////////////////////////////////////////////////////////////////////////////////////

bool SkRasterClip::op(const SkIRect& rect, SkClipOp op) {}

bool SkRasterClip::op(const SkRegion& rgn, SkClipOp op) {}

/**
 *  Our antialiasing currently has a granularity of 1/4 of a pixel along each
 *  axis. Thus we can treat an axis coordinate as an integer if it differs
 *  from its nearest int by < half of that value (1/8 in this case).
 */
static bool nearly_integral(SkScalar x) {}

bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, SkClipOp op, bool doAA) {}

bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, SkClipOp op, bool doAA) {}

bool SkRasterClip::op(const SkPath& path, const SkMatrix& matrix, SkClipOp op, bool doAA) {}

bool SkRasterClip::op(sk_sp<SkShader> sh) {}

bool SkRasterClip::op(const SkRasterClip& clip, SkClipOp op) {}

void SkRasterClip::translate(int dx, int dy, SkRasterClip* dst) const {}

void SkRasterClip::convertToAA() {}

#ifdef SK_DEBUG
void SkRasterClip::validate() const {}
#endif

///////////////////////////////////////////////////////////////////////////////

SkAAClipBlitterWrapper::SkAAClipBlitterWrapper() {}

SkAAClipBlitterWrapper::SkAAClipBlitterWrapper(const SkRasterClip& clip,
                                               SkBlitter* blitter) {}

SkAAClipBlitterWrapper::SkAAClipBlitterWrapper(const SkAAClip* aaclip,
                                               SkBlitter* blitter) {}

void SkAAClipBlitterWrapper::init(const SkRasterClip& clip, SkBlitter* blitter) {}