| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 175 void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
| 176 | 176 |
| 177 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID
E; | 177 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID
E; |
| 178 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, | 178 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
| 179 const SkPaint&) SK_OVERRIDE; | 179 const SkPaint&) SK_OVERRIDE; |
| 180 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], | 180 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
| 181 const SkPaint&) SK_OVERRIDE; | 181 const SkPaint&) SK_OVERRIDE; |
| 182 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], | 182 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], |
| 183 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 183 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
| 184 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 184 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
| 185 const SkMatrix* matrix, const SkPaint&) SK_OVERRIDE; | 185 const SkMatrix* matrix, |
| 186 SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const SkPaint&)
SK_OVERRIDE; |
| 186 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 187 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 187 const SkPaint& paint) SK_OVERRIDE; | 188 const SkPaint& paint) SK_OVERRIDE; |
| 188 | 189 |
| 189 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 190 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 190 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint); | 191 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint); |
| 191 void onDrawPaint(const SkPaint&) SK_OVERRIDE; | 192 void onDrawPaint(const SkPaint&) SK_OVERRIDE; |
| 192 | 193 |
| 193 void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; | 194 void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
| 194 void onDrawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; | 195 void onDrawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
| 195 void onDrawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; | 196 void onDrawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 bool lastClipStackData(const SkPath& devPath); | 272 bool lastClipStackData(const SkPath& devPath); |
| 272 void outputConicPoints(const SkPoint* pts, SkScalar weight); | 273 void outputConicPoints(const SkPoint* pts, SkScalar weight); |
| 273 void outputPoints(const SkPoint* pts, int count); | 274 void outputPoints(const SkPoint* pts, int count); |
| 274 void outputPointsCommon(const SkPoint* pts, int count); | 275 void outputPointsCommon(const SkPoint* pts, int count); |
| 275 void outputScalar(SkScalar num); | 276 void outputScalar(SkScalar num); |
| 276 | 277 |
| 277 typedef SkCanvas INHERITED; | 278 typedef SkCanvas INHERITED; |
| 278 }; | 279 }; |
| 279 | 280 |
| 280 #endif | 281 #endif |
| OLD | NEW |