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

Side by Side Diff: include/core/SkDrawLooper.h

Issue 1853383002: Revert of Delete SkFlattenable::Type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/SkColorFilter.h ('k') | include/core/SkFlattenable.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 /* 2 /*
3 * Copyright 2011 The Android Open Source Project 3 * Copyright 2011 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDrawLooper_DEFINED 10 #ifndef SkDrawLooper_DEFINED
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 * 1. The first layer (bottom most) just has a blur and translate 100 * 1. The first layer (bottom most) just has a blur and translate
101 * 2. The second layer has no modifications to either paint or canvas 101 * 2. The second layer has no modifications to either paint or canvas
102 * 3. No other layers. 102 * 3. No other layers.
103 * then return true, and if not null, fill out the BlurShadowRec). 103 * then return true, and if not null, fill out the BlurShadowRec).
104 * 104 *
105 * If any of the above are not met, return false and ignore the BlurShadowR ec parameter. 105 * If any of the above are not met, return false and ignore the BlurShadowR ec parameter.
106 */ 106 */
107 virtual bool asABlurShadow(BlurShadowRec*) const; 107 virtual bool asABlurShadow(BlurShadowRec*) const;
108 108
109 SK_TO_STRING_PUREVIRT() 109 SK_TO_STRING_PUREVIRT()
110 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper)
110 111
111 protected: 112 protected:
112 SkDrawLooper() {} 113 SkDrawLooper() {}
113 114
114 private: 115 private:
115 typedef SkFlattenable INHERITED; 116 typedef SkFlattenable INHERITED;
116 }; 117 };
117 118
118 #endif 119 #endif
OLDNEW
« no previous file with comments | « include/core/SkColorFilter.h ('k') | include/core/SkFlattenable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698