diff options
author | egdaniel <egdaniel@google.com> | 2014-06-04 08:15:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-04 08:15:53 -0700 |
commit | 576dcdc793a762ec63fbecdbfd5768066b548fe5 (patch) | |
tree | 2b72090221f13540d78d82c3c7489b5b6fb7fe29 /include | |
parent | 05bb6f136d8d2b2d45a912cf967a09e4d42dd4d0 (diff) |
Move Dashing filterPath to a dashing utils file
From inside GrContext, we have a need to create an SkPath an original path and
some dashing info. We do not have access to the original path effect so we need
a way to make the FilterPath function accessible outside of the effect. So I moved
the core filterPath code (and all need helper functions) out of SkDashPathEffect
and created a SkDashPath in utils to store these helper functions.
BUG=skia:
R=bsalomon@google.com, reed@google.com, rmistry@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/314623004
Diffstat (limited to 'include')
-rw-r--r-- | include/effects/SkDashPathEffect.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/effects/SkDashPathEffect.h b/include/effects/SkDashPathEffect.h index 10d8d2db4e..6fab962261 100644 --- a/include/effects/SkDashPathEffect.h +++ b/include/effects/SkDashPathEffect.h @@ -61,8 +61,6 @@ protected: virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; private: - void setInternalMembers(SkScalar phase); - SkScalar* fIntervals; int32_t fCount; SkScalar fPhase; |