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

Side by Side Diff: src/core/SkLiteRecorder.cpp

Issue 2226563002: SkLiteDL, very nearly the rest (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: give it another quack Created 4 years, 4 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/SkLiteDL.cpp ('k') | no next file » | 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 2016 Google Inc. 2 * Copyright 2016 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 #include "SkLiteDL.h" 8 #include "SkLiteDL.h"
9 #include "SkLiteRecorder.h" 9 #include "SkLiteRecorder.h"
10 #include "SkSurface.h" 10 #include "SkSurface.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 fDL->drawPosTextH(text, bytes, xs, y, paint); 96 fDL->drawPosTextH(text, bytes, xs, y, paint);
97 } 97 }
98 void SkLiteRecorder::onDrawTextOnPath(const void* text, size_t bytes, 98 void SkLiteRecorder::onDrawTextOnPath(const void* text, size_t bytes,
99 const SkPath& path, const SkMatrix* matrix , 99 const SkPath& path, const SkMatrix* matrix ,
100 const SkPaint& paint) { 100 const SkPaint& paint) {
101 fDL->drawTextOnPath(text, bytes, path, matrix, paint); 101 fDL->drawTextOnPath(text, bytes, path, matrix, paint);
102 } 102 }
103 void SkLiteRecorder::onDrawTextRSXform(const void* text, size_t bytes, 103 void SkLiteRecorder::onDrawTextRSXform(const void* text, size_t bytes,
104 const SkRSXform xform[], const SkRect* cu ll, 104 const SkRSXform xform[], const SkRect* cu ll,
105 const SkPaint& paint) { 105 const SkPaint& paint) {
106 fDL->drawTextRSXForm(text, bytes, xform, cull, paint); 106 fDL->drawTextRSXform(text, bytes, xform, cull, paint);
107 } 107 }
108 void SkLiteRecorder::onDrawTextBlob(const SkTextBlob* blob, 108 void SkLiteRecorder::onDrawTextBlob(const SkTextBlob* blob,
109 SkScalar x, SkScalar y, 109 SkScalar x, SkScalar y,
110 const SkPaint& paint) { 110 const SkPaint& paint) {
111 fDL->drawTextBlob(blob, x,y, paint); 111 fDL->drawTextBlob(blob, x,y, paint);
112 } 112 }
113 113
114 void SkLiteRecorder::onDrawBitmap(const SkBitmap& bm, 114 void SkLiteRecorder::onDrawBitmap(const SkBitmap& bm,
115 SkScalar x, SkScalar y, 115 SkScalar x, SkScalar y,
116 const SkPaint* paint) { 116 const SkPaint* paint) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 } 179 }
180 180
181 void SkLiteRecorder::didTranslateZ(SkScalar dz) { 181 void SkLiteRecorder::didTranslateZ(SkScalar dz) {
182 fDL->translateZ(dz); 182 fDL->translateZ(dz);
183 } 183 }
184 void SkLiteRecorder::onDrawShadowedPicture(const SkPicture* picture, 184 void SkLiteRecorder::onDrawShadowedPicture(const SkPicture* picture,
185 const SkMatrix* matrix, 185 const SkMatrix* matrix,
186 const SkPaint* paint) { 186 const SkPaint* paint) {
187 fDL->drawShadowedPicture(picture, matrix, paint); 187 fDL->drawShadowedPicture(picture, matrix, paint);
188 } 188 }
OLDNEW
« no previous file with comments | « src/core/SkLiteDL.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698