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

Side by Side Diff: src/core/SkPictureRecord.h

Issue 2146073003: Creating framework for drawShadowedPicture (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: removed redundant code 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
« no previous file with comments | « include/core/SkCanvas.h ('k') | tools/debugger/SkDebugCanvas.h » ('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 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 SkPictureRecord_DEFINED 8 #ifndef SkPictureRecord_DEFINED
9 #define SkPictureRecord_DEFINED 9 #define SkPictureRecord_DEFINED
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 void willSave() override; 155 void willSave() override;
156 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; 156 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override;
157 void willRestore() override; 157 void willRestore() override;
158 158
159 void didConcat(const SkMatrix&) override; 159 void didConcat(const SkMatrix&) override;
160 void didSetMatrix(const SkMatrix&) override; 160 void didSetMatrix(const SkMatrix&) override;
161 161
162 #ifdef SK_EXPERIMENTAL_SHADOWING 162 #ifdef SK_EXPERIMENTAL_SHADOWING
163 void didTranslateZ(SkScalar) override; 163 void didTranslateZ(SkScalar) override;
164 #endif 164 #else
165 void didTranslateZ(SkScalar); 165 void didTranslateZ(SkScalar);
166 #endif 166 #endif
167 167
168 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 168 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
169 169
170 void onDrawText(const void* text, size_t, SkScalar x, SkScalar y, const SkPa int&) override; 170 void onDrawText(const void* text, size_t, SkScalar x, SkScalar y, const SkPa int&) override;
171 void onDrawPosText(const void* text, size_t, const SkPoint pos[], const SkPa int&) override; 171 void onDrawPosText(const void* text, size_t, const SkPoint pos[], const SkPa int&) override;
172 void onDrawPosTextH(const void* text, size_t, const SkScalar xpos[], SkScala r constY, 172 void onDrawPosTextH(const void* text, size_t, const SkScalar xpos[], SkScala r constY,
173 const SkPaint&) override; 173 const SkPaint&) override;
174 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h, 174 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat h,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 SkTDArray<SkDrawable*> fDrawableRefs; 261 SkTDArray<SkDrawable*> fDrawableRefs;
262 SkTDArray<const SkTextBlob*> fTextBlobRefs; 262 SkTDArray<const SkTextBlob*> fTextBlobRefs;
263 263
264 uint32_t fRecordFlags; 264 uint32_t fRecordFlags;
265 int fInitialSaveCount; 265 int fInitialSaveCount;
266 266
267 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor 267 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor
268 268
269 typedef SkCanvas INHERITED; 269 typedef SkCanvas INHERITED;
270 }; 270 };
271
272 #endif
OLDNEW
« no previous file with comments | « include/core/SkCanvas.h ('k') | tools/debugger/SkDebugCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698