Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 #ifndef SkDumpCanvas_DEFINED | 8 #ifndef SkDumpCanvas_DEFINED |
| 9 #define SkDumpCanvas_DEFINED | 9 #define SkDumpCanvas_DEFINED |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 88 void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
| 89 | 89 |
| 90 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID E; | 90 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK_OVERRID E; |
| 91 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, | 91 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, |
| 92 const SkPaint&) SK_OVERRIDE; | 92 const SkPaint&) SK_OVERRIDE; |
| 93 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], | 93 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], |
| 94 const SkPaint&) SK_OVERRIDE; | 94 const SkPaint&) SK_OVERRIDE; |
| 95 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], | 95 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], |
| 96 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 96 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
| 97 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, | 97 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, |
| 98 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE; | 98 const SkMatrix* matrix, |
| 99 SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const Sk Paint&) SK_OVERRIDE; | |
|
f(malita)
2015/02/16 15:31:50
indentation
| |
| 99 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 100 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 100 const SkPaint& paint) SK_OVERRIDE; | 101 const SkPaint& paint) SK_OVERRIDE; |
| 101 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 102 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 102 const SkPoint texCoords[4], SkXfermode* xmode, | 103 const SkPoint texCoords[4], SkXfermode* xmode, |
| 103 const SkPaint& paint) SK_OVERRIDE; | 104 const SkPaint& paint) SK_OVERRIDE; |
| 104 | 105 |
| 105 void onDrawPaint(const SkPaint&) SK_OVERRIDE; | 106 void onDrawPaint(const SkPaint&) SK_OVERRIDE; |
| 106 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) SK_OVERRIDE; | 107 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) SK_OVERRIDE; |
| 107 void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; | 108 void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE; |
| 108 void onDrawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; | 109 void onDrawOval(const SkRect&, const SkPaint&) SK_OVERRIDE; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 public: | 167 public: |
| 167 SkDebugfDumper(); | 168 SkDebugfDumper(); |
| 168 | 169 |
| 169 private: | 170 private: |
| 170 typedef SkFormatDumper INHERITED; | 171 typedef SkFormatDumper INHERITED; |
| 171 }; | 172 }; |
| 172 | 173 |
| 173 #endif | 174 #endif |
| 174 | 175 |
| 175 #endif | 176 #endif |
| OLD | NEW |