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

Side by Side Diff: src/core/SkRecorder.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 2014 Google Inc. 2 * Copyright 2014 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 SkRecorder_DEFINED 8 #ifndef SkRecorder_DEFINED
9 #define SkRecorder_DEFINED 9 #define SkRecorder_DEFINED
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void onDrawPosTextH(const void* text, 75 void onDrawPosTextH(const void* text,
76 size_t byteLength, 76 size_t byteLength,
77 const SkScalar xpos[], 77 const SkScalar xpos[],
78 SkScalar constY, 78 SkScalar constY,
79 const SkPaint& paint) override; 79 const SkPaint& paint) override;
80 void onDrawTextOnPath(const void* text, 80 void onDrawTextOnPath(const void* text,
81 size_t byteLength, 81 size_t byteLength,
82 const SkPath& path, 82 const SkPath& path,
83 const SkMatrix* matrix, 83 const SkMatrix* matrix,
84 const SkPaint& paint) override; 84 const SkPaint& paint) override;
85 void onDrawTextRSXform(const void* text,
86 size_t byteLength,
87 const SkRSXform[],
88 const SkRect* cull,
89 const SkPaint& paint) override;
85 void onDrawTextBlob(const SkTextBlob* blob, 90 void onDrawTextBlob(const SkTextBlob* blob,
86 SkScalar x, 91 SkScalar x,
87 SkScalar y, 92 SkScalar y,
88 const SkPaint& paint) override; 93 const SkPaint& paint) override;
89 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 94 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
90 const SkPoint texCoords[4], SkXfermode* xmode, 95 const SkPoint texCoords[4], SkXfermode* xmode,
91 const SkPaint& paint) override; 96 const SkPaint& paint) override;
92 97
93 void onDrawPaint(const SkPaint&) override; 98 void onDrawPaint(const SkPaint&) override;
94 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;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 146
142 DrawPictureMode fDrawPictureMode; 147 DrawPictureMode fDrawPictureMode;
143 size_t fApproxBytesUsedBySubPictures; 148 size_t fApproxBytesUsedBySubPictures;
144 SkRecord* fRecord; 149 SkRecord* fRecord;
145 SkAutoTDelete<SkDrawableList> fDrawableList; 150 SkAutoTDelete<SkDrawableList> fDrawableList;
146 151
147 SkMiniRecorder* fMiniRecorder; 152 SkMiniRecorder* fMiniRecorder;
148 }; 153 };
149 154
150 #endif//SkRecorder_DEFINED 155 #endif//SkRecorder_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698