blob: dfae154ecb8e4910669b39a55bbf55e8c280aa0a [file] [log] [blame]
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkCanvasPriv_DEFINED
#define SkCanvasPriv_DEFINED
#include "SkCanvas.h"
class SkAutoCanvasMatrixPaint : SkNoncopyable {
public:
SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds);
~SkAutoCanvasMatrixPaint();
private:
SkCanvas* fCanvas;
int fSaveCount;
};
#endif