Move Dashing filterPath to a dashing utils file
authoregdaniel <egdaniel@google.com>
Wed, 4 Jun 2014 15:15:53 +0000 (08:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Jun 2014 15:15:53 +0000 (08:15 -0700)
commit576dcdc793a762ec63fbecdbfd5768066b548fe5
tree2b72090221f13540d78d82c3c7489b5b6fb7fe29
parent05bb6f136d8d2b2d45a912cf967a09e4d42dd4d0
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
gyp/utils.gyp
include/effects/SkDashPathEffect.h
src/effects/SkDashPathEffect.cpp
src/utils/SkDashPath.cpp [new file with mode: 0644]
src/utils/SkDashPathPriv.h [new file with mode: 0644]