| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 fUserMatrix = matrix; | 151 fUserMatrix = matrix; |
| 152 fDrawNeedsReset = true; | 152 fDrawNeedsReset = true; |
| 153 } | 153 } |
| 154 | 154 |
| 155 SkString clipStackData() const { return fClipStackData; } | 155 SkString clipStackData() const { return fClipStackData; } |
| 156 | 156 |
| 157 //////////////////////////////////////////////////////////////////////////////// | 157 //////////////////////////////////////////////////////////////////////////////// |
| 158 // Inherited from SkCanvas | 158 // Inherited from SkCanvas |
| 159 //////////////////////////////////////////////////////////////////////////////// | 159 //////////////////////////////////////////////////////////////////////////////// |
| 160 | 160 |
| 161 virtual void clear(SkColor) SK_OVERRIDE; | |
| 162 | |
| 163 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, | 161 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, |
| 164 const SkPaint*) SK_OVERRIDE; | 162 const SkPaint*) SK_OVERRIDE; |
| 165 | 163 |
| 166 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, | 164 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, |
| 167 const SkRect& dst, const SkPaint* paint, | 165 const SkRect& dst, const SkPaint* paint, |
| 168 DrawBitmapRectFlags flags) SK_OVERRIDE; | 166 DrawBitmapRectFlags flags) SK_OVERRIDE; |
| 169 | 167 |
| 170 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, | 168 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, |
| 171 const SkPaint*) SK_OVERRIDE; | 169 const SkPaint*) SK_OVERRIDE; |
| 172 | 170 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 bool lastClipStackData(const SkPath& devPath); | 322 bool lastClipStackData(const SkPath& devPath); |
| 325 void outputConicPoints(const SkPoint* pts, SkScalar weight); | 323 void outputConicPoints(const SkPoint* pts, SkScalar weight); |
| 326 void outputPoints(const SkPoint* pts, int count); | 324 void outputPoints(const SkPoint* pts, int count); |
| 327 void outputPointsCommon(const SkPoint* pts, int count); | 325 void outputPointsCommon(const SkPoint* pts, int count); |
| 328 void outputScalar(SkScalar num); | 326 void outputScalar(SkScalar num); |
| 329 | 327 |
| 330 typedef SkCanvas INHERITED; | 328 typedef SkCanvas INHERITED; |
| 331 }; | 329 }; |
| 332 | 330 |
| 333 #endif | 331 #endif |
| OLD | NEW |