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

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

Issue 1805963002: allow one zero length dash (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use explicit bad params flag Created 4 years, 9 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 private: 62 private:
63 SkScalar* fIntervals; 63 SkScalar* fIntervals;
64 int32_t fCount; 64 int32_t fCount;
65 SkScalar fPhase; 65 SkScalar fPhase;
66 // computed from phase 66 // computed from phase
67 67
68 SkScalar fInitialDashLength; 68 SkScalar fInitialDashLength;
69 int32_t fInitialDashIndex; 69 int32_t fInitialDashIndex;
70 SkScalar fIntervalLength; 70 SkScalar fIntervalLength;
71 bool fValidParameters;
71 72
72 typedef SkPathEffect INHERITED; 73 typedef SkPathEffect INHERITED;
73 }; 74 };
74 75
75 #endif 76 #endif
OLDNEW
« no previous file with comments | « gm/arcto.cpp ('k') | src/effects/SkDashPathEffect.cpp » ('j') | src/utils/SkDashPath.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698