| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 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 SkPathEffect_DEFINED | 10 #ifndef SkPathEffect_DEFINED |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 SkScalar fPhase; //!< Offset into the dashed interval pat
tern | 128 SkScalar fPhase; //!< Offset into the dashed interval pat
tern |
| 129 // mod the sum of all intervals | 129 // mod the sum of all intervals |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 virtual DashType asADash(DashInfo* info) const; | 132 virtual DashType asADash(DashInfo* info) const; |
| 133 | 133 |
| 134 SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect) | 134 SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect) |
| 135 | 135 |
| 136 protected: | 136 protected: |
| 137 SkPathEffect() {} | 137 SkPathEffect() {} |
| 138 #ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
| 138 SkPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} | 139 SkPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
| 140 #endif |
| 139 | 141 |
| 140 private: | 142 private: |
| 141 // illegal | 143 // illegal |
| 142 SkPathEffect(const SkPathEffect&); | 144 SkPathEffect(const SkPathEffect&); |
| 143 SkPathEffect& operator=(const SkPathEffect&); | 145 SkPathEffect& operator=(const SkPathEffect&); |
| 144 | 146 |
| 145 typedef SkFlattenable INHERITED; | 147 typedef SkFlattenable INHERITED; |
| 146 }; | 148 }; |
| 147 | 149 |
| 148 /** \class SkPairPathEffect | 150 /** \class SkPairPathEffect |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 | 231 |
| 230 private: | 232 private: |
| 231 // illegal | 233 // illegal |
| 232 SkSumPathEffect(const SkSumPathEffect&); | 234 SkSumPathEffect(const SkSumPathEffect&); |
| 233 SkSumPathEffect& operator=(const SkSumPathEffect&); | 235 SkSumPathEffect& operator=(const SkSumPathEffect&); |
| 234 | 236 |
| 235 typedef SkPairPathEffect INHERITED; | 237 typedef SkPairPathEffect INHERITED; |
| 236 }; | 238 }; |
| 237 | 239 |
| 238 #endif | 240 #endif |
| OLD | NEW |