OLD | NEW |
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 * | 107 * |
108 * If any of the above are not met, return false and ignore the BlurShadowR
ec parameter. | 108 * If any of the above are not met, return false and ignore the BlurShadowR
ec parameter. |
109 */ | 109 */ |
110 virtual bool asABlurShadow(BlurShadowRec*) const; | 110 virtual bool asABlurShadow(BlurShadowRec*) const; |
111 | 111 |
112 SK_TO_STRING_PUREVIRT() | 112 SK_TO_STRING_PUREVIRT() |
113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) | 113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) |
114 | 114 |
115 protected: | 115 protected: |
116 SkDrawLooper() {} | 116 SkDrawLooper() {} |
117 #ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING | |
118 SkDrawLooper(SkReadBuffer& buffer) : INHERITED(buffer) {} | |
119 #endif | |
120 | 117 |
121 private: | 118 private: |
122 typedef SkFlattenable INHERITED; | 119 typedef SkFlattenable INHERITED; |
123 }; | 120 }; |
124 | 121 |
125 #endif | 122 #endif |
OLD | NEW |