| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE; | 227 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE; |
| 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: |
| 237 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
| 238 |
| 236 private: | 239 private: |
| 237 SkTDArray<SkDrawCommand*> fCommandVector; | 240 SkTDArray<SkDrawCommand*> fCommandVector; |
| 238 int fWidth; | 241 int fWidth; |
| 239 int fHeight; | 242 int fHeight; |
| 240 bool fFilter; | 243 bool fFilter; |
| 241 int fIndex; | 244 int fIndex; |
| 242 SkMatrix fUserMatrix; | 245 SkMatrix fUserMatrix; |
| 243 SkMatrix fMatrix; | 246 SkMatrix fMatrix; |
| 244 SkIRect fClip; | 247 SkIRect fClip; |
| 245 | 248 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 266 /** | 269 /** |
| 267 Applies any panning and zooming the user has specified before | 270 Applies any panning and zooming the user has specified before |
| 268 drawing anything else into the canvas. | 271 drawing anything else into the canvas. |
| 269 */ | 272 */ |
| 270 void applyUserTransform(SkCanvas* canvas); | 273 void applyUserTransform(SkCanvas* canvas); |
| 271 | 274 |
| 272 typedef SkCanvas INHERITED; | 275 typedef SkCanvas INHERITED; |
| 273 }; | 276 }; |
| 274 | 277 |
| 275 #endif | 278 #endif |
| OLD | NEW |