Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(845)

Side by Side Diff: src/core/SkCanvasPriv.h

Issue 513983002: Try out scalar picture sizes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkCanvasPriv_DEFINED 8 #ifndef SkCanvasPriv_DEFINED
9 #define SkCanvasPriv_DEFINED 9 #define SkCanvasPriv_DEFINED
10 10
11 #include "SkCanvas.h" 11 #include "SkCanvas.h"
12 12
13 class SkAutoCanvasMatrixPaint : SkNoncopyable { 13 class SkAutoCanvasMatrixPaint : SkNoncopyable {
14 public: 14 public:
15 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, int widt h, int height); 15 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const Sk Rect& bounds);
16 ~SkAutoCanvasMatrixPaint(); 16 ~SkAutoCanvasMatrixPaint();
17 17
18 private: 18 private:
19 SkCanvas* fCanvas; 19 SkCanvas* fCanvas;
20 int fSaveCount; 20 int fSaveCount;
21 }; 21 };
22 22
23 #endif 23 #endif
OLDNEW
« include/core/SkPicture.h ('K') | « src/core/SkCanvas.cpp ('k') | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698