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

Side by Side Diff: include/utils/SkPaintFilterCanvas.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 2015 Google Inc. 2 * Copyright 2015 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 SkPaintFilterCanvas_DEFINED 8 #ifndef SkPaintFilterCanvas_DEFINED
9 #define SkPaintFilterCanvas_DEFINED 9 #define SkPaintFilterCanvas_DEFINED
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; 88 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
89 89
90 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, 90 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
91 const SkPaint&) override; 91 const SkPaint&) override;
92 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], 92 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
93 const SkPaint&) override; 93 const SkPaint&) override;
94 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos [], 94 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos [],
95 SkScalar constY, const SkPaint&) override; 95 SkScalar constY, const SkPaint&) override;
96 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h, 96 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h,
97 const SkMatrix* matrix, const SkPaint&) override; 97 const SkMatrix* matrix, const SkPaint&) override;
98 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
99 const SkRect* cull, const SkPaint& paint) override;
98 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 100 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
99 const SkPaint& paint) override; 101 const SkPaint& paint) override;
100 102
101 private: 103 private:
102 class AutoPaintFilter; 104 class AutoPaintFilter;
103 105
104 typedef SkNWayCanvas INHERITED; 106 typedef SkNWayCanvas INHERITED;
105 }; 107 };
106 108
107 #endif 109 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698