| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], | 176 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
| 177 const SkPaint&) override; | 177 const SkPaint&) override; |
| 178 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], | 178 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], |
| 179 SkScalar constY, const SkPaint&) override; | 179 SkScalar constY, const SkPaint&) override; |
| 180 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 180 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
| 181 const SkMatrix* matrix, const SkPaint&) override; | 181 const SkMatrix* matrix, const SkPaint&) override; |
| 182 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 182 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 183 const SkPaint& paint) override; | 183 const SkPaint& paint) override; |
| 184 | 184 |
| 185 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 185 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 186 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint); | 186 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint) override; |
| 187 void onDrawPaint(const SkPaint&) override; | 187 void onDrawPaint(const SkPaint&) override; |
| 188 | 188 |
| 189 void onDrawRect(const SkRect&, const SkPaint&) override; | 189 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 190 void onDrawOval(const SkRect&, const SkPaint&) override; | 190 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 191 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 191 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| 192 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 192 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
| 193 void onDrawVertices(VertexMode vmode, int vertexCount, | 193 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 194 const SkPoint vertices[], const SkPoint texs[], | 194 const SkPoint vertices[], const SkPoint texs[], |
| 195 const SkColor colors[], SkXfermode* xmode, | 195 const SkColor colors[], SkXfermode* xmode, |
| 196 const uint16_t indices[], int indexCount, | 196 const uint16_t indices[], int indexCount, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 void outputPoints(const SkPoint* pts, int count); | 260 void outputPoints(const SkPoint* pts, int count); |
| 261 void outputPointsCommon(const SkPoint* pts, int count); | 261 void outputPointsCommon(const SkPoint* pts, int count); |
| 262 void outputScalar(SkScalar num); | 262 void outputScalar(SkScalar num); |
| 263 | 263 |
| 264 void updatePaintFilterCanvas(); | 264 void updatePaintFilterCanvas(); |
| 265 | 265 |
| 266 typedef SkCanvas INHERITED; | 266 typedef SkCanvas INHERITED; |
| 267 }; | 267 }; |
| 268 | 268 |
| 269 #endif | 269 #endif |
| OLD | NEW |