diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-31 18:52:51 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-31 18:52:51 +0000 |
commit | 35c03fbf101306e8e82141853de4c664cbafedbb (patch) | |
tree | da6595ecf0d47244602f0198bed1ad982add6c63 /include | |
parent | 07421a52d40083cdefc7ab5df6a90495a1d8e785 (diff) |
Remove scaleToFit from DashPathEffect
BUG=skia:
R=reed@google.com, bsalomon@google.com, scroggo@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/216493005
git-svn-id: http://skia.googlecode.com/svn/trunk@13999 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/effects/SkDashPathEffect.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/effects/SkDashPathEffect.h b/include/effects/SkDashPathEffect.h index a1c5482653..41f8f5a43e 100644 --- a/include/effects/SkDashPathEffect.h +++ b/include/effects/SkDashPathEffect.h @@ -37,8 +37,8 @@ public: Note: only affects stroked paths. */ static SkDashPathEffect* Create(const SkScalar intervals[], int count, - SkScalar phase, bool scaleToFit = false) { - return SkNEW_ARGS(SkDashPathEffect, (intervals, count, phase, scaleToFit)); + SkScalar phase) { + return SkNEW_ARGS(SkDashPathEffect, (intervals, count, phase)); } virtual ~SkDashPathEffect(); @@ -60,8 +60,7 @@ protected: #ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS public: #endif - SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase, - bool scaleToFit = false); + SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase); private: SkScalar* fIntervals; @@ -70,7 +69,6 @@ private: SkScalar fInitialDashLength; int32_t fInitialDashIndex; SkScalar fIntervalLength; - bool fScaleToFit; typedef SkPathEffect INHERITED; }; |