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

Side by Side Diff: src/core/SkRecorder.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 | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.cpp » ('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 * 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const SkPaint& paint) SK_OVERRIDE; 66 const SkPaint& paint) SK_OVERRIDE;
67 void onDrawPosTextH(const void* text, 67 void onDrawPosTextH(const void* text,
68 size_t byteLength, 68 size_t byteLength,
69 const SkScalar xpos[], 69 const SkScalar xpos[],
70 SkScalar constY, 70 SkScalar constY,
71 const SkPaint& paint) SK_OVERRIDE; 71 const SkPaint& paint) SK_OVERRIDE;
72 void onDrawTextOnPath(const void* text, 72 void onDrawTextOnPath(const void* text,
73 size_t byteLength, 73 size_t byteLength,
74 const SkPath& path, 74 const SkPath& path,
75 const SkMatrix* matrix, 75 const SkMatrix* matrix,
76 SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM
76 const SkPaint& paint) SK_OVERRIDE; 77 const SkPaint& paint) SK_OVERRIDE;
77 void onDrawTextBlob(const SkTextBlob* blob, 78 void onDrawTextBlob(const SkTextBlob* blob,
78 SkScalar x, 79 SkScalar x,
79 SkScalar y, 80 SkScalar y,
80 const SkPaint& paint) SK_OVERRIDE; 81 const SkPaint& paint) SK_OVERRIDE;
81 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 82 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
82 const SkPoint texCoords[4], SkXfermode* xmode, 83 const SkPoint texCoords[4], SkXfermode* xmode,
83 const SkPaint& paint) SK_OVERRIDE; 84 const SkPaint& paint) SK_OVERRIDE;
84 85
85 void onDrawPaint(const SkPaint&) SK_OVERRIDE; 86 void onDrawPaint(const SkPaint&) SK_OVERRIDE;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 this->getClipDeviceBounds(&devBounds); 129 this->getClipDeviceBounds(&devBounds);
129 return devBounds; 130 return devBounds;
130 } 131 }
131 132
132 SkRecord* fRecord; 133 SkRecord* fRecord;
133 134
134 SkAutoTDelete<SkDrawableList> fDrawableList; 135 SkAutoTDelete<SkDrawableList> fDrawableList;
135 }; 136 };
136 137
137 #endif//SkRecorder_DEFINED 138 #endif//SkRecorder_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698