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

Side by Side Diff: include/effects/SkDashPathEffect.h

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/effects/SkCornerPathEffect.h ('k') | include/effects/SkDiscretePathEffect.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 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkDashPathEffect_DEFINED 8 #ifndef SkDashPathEffect_DEFINED
9 #define SkDashPathEffect_DEFINED 9 #define SkDashPathEffect_DEFINED
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 virtual ~SkDashPathEffect(); 43 virtual ~SkDashPathEffect();
44 44
45 virtual bool filterPath(SkPath* dst, const SkPath& src, 45 virtual bool filterPath(SkPath* dst, const SkPath& src,
46 SkStrokeRec*, const SkRect*) const SK_OVERRIDE; 46 SkStrokeRec*, const SkRect*) const SK_OVERRIDE;
47 47
48 virtual bool asPoints(PointData* results, const SkPath& src, 48 virtual bool asPoints(PointData* results, const SkPath& src,
49 const SkStrokeRec&, const SkMatrix&, 49 const SkStrokeRec&, const SkMatrix&,
50 const SkRect*) const SK_OVERRIDE; 50 const SkRect*) const SK_OVERRIDE;
51 51
52 virtual DashType asADash(DashInfo* info) const SK_OVERRIDE; 52 DashType asADash(DashInfo* info) const SK_OVERRIDE;
53 53
54 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDashPathEffect) 54 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDashPathEffect)
55 55
56 protected: 56 protected:
57 SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase); 57 SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase);
58 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 58 void flatten(SkWriteBuffer&) const SK_OVERRIDE;
59 59
60 private: 60 private:
61 SkScalar* fIntervals; 61 SkScalar* fIntervals;
62 int32_t fCount; 62 int32_t fCount;
63 SkScalar fPhase; 63 SkScalar fPhase;
64 // computed from phase 64 // computed from phase
65 SkScalar fInitialDashLength; 65 SkScalar fInitialDashLength;
66 int32_t fInitialDashIndex; 66 int32_t fInitialDashIndex;
67 SkScalar fIntervalLength; 67 SkScalar fIntervalLength;
68 68
69 typedef SkPathEffect INHERITED; 69 typedef SkPathEffect INHERITED;
70 }; 70 };
71 71
72 #endif 72 #endif
OLDNEW
« no previous file with comments | « include/effects/SkCornerPathEffect.h ('k') | include/effects/SkDiscretePathEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698