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

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

Issue 2130643004: drawTextRSXform (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update util canvases Created 4 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkDumpCanvas_DEFINED 8 #ifndef SkDumpCanvas_DEFINED
9 #define SkDumpCanvas_DEFINED 9 #define SkDumpCanvas_DEFINED
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 81 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
82 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, 82 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y,
83 const SkPaint&) override; 83 const SkPaint&) override;
84 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], 84 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[],
85 const SkPaint&) override; 85 const SkPaint&) override;
86 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], 86 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[],
87 SkScalar constY, const SkPaint&) override; 87 SkScalar constY, const SkPaint&) override;
88 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, 88 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path,
89 const SkMatrix* matrix, const SkPaint&) overri de; 89 const SkMatrix* matrix, const SkPaint&) overri de;
90 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
91 const SkRect* cull, const SkPaint& paint) override;
90 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 92 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
91 const SkPaint& paint) override; 93 const SkPaint& paint) override;
92 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 94 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
93 const SkPoint texCoords[4], SkXfermode* xmode, 95 const SkPoint texCoords[4], SkXfermode* xmode,
94 const SkPaint& paint) override; 96 const SkPaint& paint) override;
95 97
96 void onDrawPaint(const SkPaint&) override; 98 void onDrawPaint(const SkPaint&) override;
97 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; 99 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override;
98 void onDrawRect(const SkRect&, const SkPaint&) override; 100 void onDrawRect(const SkRect&, const SkPaint&) override;
99 void onDrawOval(const SkRect&, const SkPaint&) override; 101 void onDrawOval(const SkRect&, const SkPaint&) override;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 */ 157 */
156 class SkDebugfDumper : public SkFormatDumper { 158 class SkDebugfDumper : public SkFormatDumper {
157 public: 159 public:
158 SkDebugfDumper(); 160 SkDebugfDumper();
159 161
160 private: 162 private:
161 typedef SkFormatDumper INHERITED; 163 typedef SkFormatDumper INHERITED;
162 }; 164 };
163 165
164 #endif 166 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698