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

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

Issue 1834303003: Delete SkFlattenable::Type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase 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)
111 110
112 protected: 111 protected:
113 SkDrawLooper() {} 112 SkDrawLooper() {}
114 113
115 private: 114 private:
116 typedef SkFlattenable INHERITED; 115 typedef SkFlattenable INHERITED;
117 }; 116 };
118 117
119 #endif 118 #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