| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SKDEBUGCANVAS_H_ | 10 #ifndef SKDEBUGCANVAS_H_ |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 228 |
| 229 virtual bool skew(SkScalar sx, SkScalar sy) SK_OVERRIDE; | 229 virtual bool skew(SkScalar sx, SkScalar sy) SK_OVERRIDE; |
| 230 | 230 |
| 231 virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE; | 231 virtual bool translate(SkScalar dx, SkScalar dy) SK_OVERRIDE; |
| 232 | 232 |
| 233 static const int kVizImageHeight = 256; | 233 static const int kVizImageHeight = 256; |
| 234 static const int kVizImageWidth = 256; | 234 static const int kVizImageWidth = 256; |
| 235 | 235 |
| 236 protected: | 236 protected: |
| 237 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 237 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
| 238 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; |
| 239 virtual void onPopCull() SK_OVERRIDE; |
| 238 | 240 |
| 239 private: | 241 private: |
| 240 SkTDArray<SkDrawCommand*> fCommandVector; | 242 SkTDArray<SkDrawCommand*> fCommandVector; |
| 241 int fWidth; | 243 int fWidth; |
| 242 int fHeight; | 244 int fHeight; |
| 243 bool fFilter; | 245 bool fFilter; |
| 244 int fIndex; | 246 int fIndex; |
| 245 SkMatrix fUserMatrix; | 247 SkMatrix fUserMatrix; |
| 246 SkMatrix fMatrix; | 248 SkMatrix fMatrix; |
| 247 SkIRect fClip; | 249 SkIRect fClip; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 269 /** | 271 /** |
| 270 Applies any panning and zooming the user has specified before | 272 Applies any panning and zooming the user has specified before |
| 271 drawing anything else into the canvas. | 273 drawing anything else into the canvas. |
| 272 */ | 274 */ |
| 273 void applyUserTransform(SkCanvas* canvas); | 275 void applyUserTransform(SkCanvas* canvas); |
| 274 | 276 |
| 275 typedef SkCanvas INHERITED; | 277 typedef SkCanvas INHERITED; |
| 276 }; | 278 }; |
| 277 | 279 |
| 278 #endif | 280 #endif |
| OLD | NEW |