Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: include/utils/SkDumpCanvas.h

Issue 933483002: add Method param to drawTextOnPath, supporting SVG spec Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/utils/SkDeferredCanvas.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
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
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
OLDNEW
« no previous file with comments | « include/utils/SkDeferredCanvas.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698