diff options
author | egdaniel <egdaniel@google.com> | 2014-06-04 09:59:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-04 09:59:08 -0700 |
commit | 90b8cafb6a362bb5d5cca03b66ea57e97b9b43f2 (patch) | |
tree | b2edc58ac281460de07b64b428251f672e5f5c86 /include/effects | |
parent | 2dc337c3aeca0ba2a8dfc30cbdfd1d5e0bbef396 (diff) |
Revert of Move Dashing filterPath to a dashing utils file (https://codereview.chromium.org/314623004/)
Reason for revert:
Need to create utils.gypi file and update chrome
Original issue's description:
> 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:
>
> Committed: https://skia.googlesource.com/skia/+/576dcdc793a762ec63fbecdbfd5768066b548fe5
R=bsalomon@google.com, reed@google.com, rmistry@google.com
TBR=bsalomon@google.com, reed@google.com, rmistry@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/317663003
Diffstat (limited to 'include/effects')
-rw-r--r-- | include/effects/SkDashPathEffect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/effects/SkDashPathEffect.h b/include/effects/SkDashPathEffect.h index 6fab962261..10d8d2db4e 100644 --- a/include/effects/SkDashPathEffect.h +++ b/include/effects/SkDashPathEffect.h @@ -61,6 +61,8 @@ protected: virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; private: + void setInternalMembers(SkScalar phase); + SkScalar* fIntervals; int32_t fCount; SkScalar fPhase; |