| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 return true; | 224 return true; |
| 225 } | 225 } |
| 226 virtual bool getClipDeviceBounds(SkIRect* bounds) const SK_OVERRIDE { | 226 virtual bool getClipDeviceBounds(SkIRect* bounds) const SK_OVERRIDE { |
| 227 if (NULL != bounds) { | 227 if (NULL != bounds) { |
| 228 bounds->setLargest(); | 228 bounds->setLargest(); |
| 229 } | 229 } |
| 230 return true; | 230 return true; |
| 231 } | 231 } |
| 232 | 232 |
| 233 protected: | 233 protected: |
| 234 virtual void willSave(SaveFlags) SK_OVERRIDE; | 234 virtual void willSave() SK_OVERRIDE; |
| 235 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; | 235 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; |
| 236 virtual void willRestore() SK_OVERRIDE; | 236 virtual void willRestore() SK_OVERRIDE; |
| 237 | 237 |
| 238 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; | 238 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
| 239 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 239 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
| 240 | 240 |
| 241 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 241 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
| 242 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 242 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
| 243 const SkPaint&) SK_OVERRIDE; | 243 const SkPaint&) SK_OVERRIDE; |
| 244 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 244 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 bool lastClipStackData(const SkPath& devPath); | 327 bool lastClipStackData(const SkPath& devPath); |
| 328 void outputConicPoints(const SkPoint* pts, SkScalar weight); | 328 void outputConicPoints(const SkPoint* pts, SkScalar weight); |
| 329 void outputPoints(const SkPoint* pts, int count); | 329 void outputPoints(const SkPoint* pts, int count); |
| 330 void outputPointsCommon(const SkPoint* pts, int count); | 330 void outputPointsCommon(const SkPoint* pts, int count); |
| 331 void outputScalar(SkScalar num); | 331 void outputScalar(SkScalar num); |
| 332 | 332 |
| 333 typedef SkCanvas INHERITED; | 333 typedef SkCanvas INHERITED; |
| 334 }; | 334 }; |
| 335 | 335 |
| 336 #endif | 336 #endif |
| OLD | NEW |