#include "src/core/SkCanvasPriv.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorFilter.h"
#include "include/core/SkImageFilter.h"
#include "include/core/SkMaskFilter.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkShader.h"
#include "include/private/base/SkAlign.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTo.h"
#include "src/base/SkAutoMalloc.h"
#include "src/core/SkMaskFilterBase.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkWriteBuffer.h"
#include "src/core/SkWriter32.h"
#include <utility>
#include <cstdint>
SkAutoCanvasMatrixPaint::SkAutoCanvasMatrixPaint(SkCanvas* canvas, const SkMatrix* matrix,
const SkPaint* paint, const SkRect& bounds)
: … { … }
SkAutoCanvasMatrixPaint::~SkAutoCanvasMatrixPaint() { … }
bool SkCanvasPriv::ReadLattice(SkReadBuffer& buffer, SkCanvas::Lattice* lattice) { … }
size_t SkCanvasPriv::WriteLattice(void* buffer, const SkCanvas::Lattice& lattice) { … }
void SkCanvasPriv::WriteLattice(SkWriteBuffer& buffer, const SkCanvas::Lattice& lattice) { … }
void SkCanvasPriv::GetDstClipAndMatrixCounts(const SkCanvas::ImageSetEntry set[], int count,
int* totalDstClipCount, int* totalMatrixCount) { … }
bool SkCanvasPriv::ImageToColorFilter(SkPaint* paint) { … }
AutoLayerForImageFilter::AutoLayerForImageFilter(SkCanvas* canvas,
const SkPaint& paint,
const SkRect* rawBounds,
bool skipMaskFilterLayer)
: … { … }
AutoLayerForImageFilter::~AutoLayerForImageFilter() { … }
AutoLayerForImageFilter::AutoLayerForImageFilter(AutoLayerForImageFilter&& other) { … }
AutoLayerForImageFilter& AutoLayerForImageFilter::operator=(AutoLayerForImageFilter&& other) { … }
void AutoLayerForImageFilter::addImageFilterLayer(const SkRect* drawBounds) { … }
void AutoLayerForImageFilter::addMaskFilterLayer(const SkRect* drawBounds) { … }
void AutoLayerForImageFilter::addLayer(const SkPaint& restorePaint,
const SkRect* drawBounds,
bool coverageOnly) { … }