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

Side by Side Diff: include/core/SkPathEffect.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/SkMaskFilter.h ('k') | include/core/SkRasterizer.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 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 SkScalar* fIntervals; //!< Length of on/off intervals for dash ed lines 122 SkScalar* fIntervals; //!< Length of on/off intervals for dash ed lines
123 // Even values represent ons, and odds offs 123 // Even values represent ons, and odds offs
124 int32_t fCount; //!< Number of intervals in the dash. Sh ould be even number 124 int32_t fCount; //!< Number of intervals in the dash. Sh ould be even number
125 SkScalar fPhase; //!< Offset into the dashed interval pat tern 125 SkScalar fPhase; //!< Offset into the dashed interval pat tern
126 // mod the sum of all intervals 126 // mod the sum of all intervals
127 }; 127 };
128 128
129 virtual DashType asADash(DashInfo* info) const; 129 virtual DashType asADash(DashInfo* info) const;
130 130
131 SK_TO_STRING_PUREVIRT() 131 SK_TO_STRING_PUREVIRT()
132 SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect)
133 132
134 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 133 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
135 /// Override for subclasses as appropriate. 134 /// Override for subclasses as appropriate.
136 virtual bool exposedInAndroidJavaAPI() const { return false; } 135 virtual bool exposedInAndroidJavaAPI() const { return false; }
137 #endif 136 #endif
138 137
139 protected: 138 protected:
140 SkPathEffect() {} 139 SkPathEffect() {}
141 140
142 private: 141 private:
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 261
263 private: 262 private:
264 // illegal 263 // illegal
265 SkSumPathEffect(const SkSumPathEffect&); 264 SkSumPathEffect(const SkSumPathEffect&);
266 SkSumPathEffect& operator=(const SkSumPathEffect&); 265 SkSumPathEffect& operator=(const SkSumPathEffect&);
267 266
268 typedef SkPairPathEffect INHERITED; 267 typedef SkPairPathEffect INHERITED;
269 }; 268 };
270 269
271 #endif 270 #endif
OLDNEW
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | include/core/SkRasterizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698