| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 bounds->setLargest(); | 227 bounds->setLargest(); |
| 228 } | 228 } |
| 229 return true; | 229 return true; |
| 230 } | 230 } |
| 231 | 231 |
| 232 protected: | 232 protected: |
| 233 virtual void willSave(SaveFlags) SK_OVERRIDE; | 233 virtual void willSave(SaveFlags) SK_OVERRIDE; |
| 234 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; | 234 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; |
| 235 virtual void willRestore() SK_OVERRIDE; | 235 virtual void willRestore() SK_OVERRIDE; |
| 236 | 236 |
| 237 virtual void didTranslate(SkScalar, SkScalar) SK_OVERRIDE; | |
| 238 virtual void didScale(SkScalar, SkScalar) SK_OVERRIDE; | |
| 239 virtual void didRotate(SkScalar) SK_OVERRIDE; | |
| 240 virtual void didSkew(SkScalar, SkScalar) SK_OVERRIDE; | |
| 241 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; | 237 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
| 242 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 238 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
| 243 | 239 |
| 244 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 240 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
| 245 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; | 241 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; |
| 246 virtual void onPopCull() SK_OVERRIDE; | 242 virtual void onPopCull() SK_OVERRIDE; |
| 247 | 243 |
| 248 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 244 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| 249 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 245 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
| 250 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 246 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 /** | 294 /** |
| 299 Applies any panning and zooming the user has specified before | 295 Applies any panning and zooming the user has specified before |
| 300 drawing anything else into the canvas. | 296 drawing anything else into the canvas. |
| 301 */ | 297 */ |
| 302 void applyUserTransform(SkCanvas* canvas); | 298 void applyUserTransform(SkCanvas* canvas); |
| 303 | 299 |
| 304 typedef SkCanvas INHERITED; | 300 typedef SkCanvas INHERITED; |
| 305 }; | 301 }; |
| 306 | 302 |
| 307 #endif | 303 #endif |
| OLD | NEW |