diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-22 15:21:18 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-22 15:21:18 +0000 |
commit | aec143824c9be4e4af6e2cb7cce3d2d2268c0b15 (patch) | |
tree | 72b17b11f32c788da1e114ebd6305f470b94acf3 /src/core/SkPathEffect.cpp | |
parent | fd4ee4dea13f083c81cc80180fa09ee0127158a1 (diff) |
Add asADash entry point into SkPathEffect to allow extracting Dash info from PathEffects
BUG=skia:
R=bsalomon@google.com, reed@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/212103010
git-svn-id: http://skia.googlecode.com/svn/trunk@14297 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPathEffect.cpp')
-rw-r--r-- | src/core/SkPathEffect.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkPathEffect.cpp b/src/core/SkPathEffect.cpp index e181320356..01d5d6f961 100644 --- a/src/core/SkPathEffect.cpp +++ b/src/core/SkPathEffect.cpp @@ -22,6 +22,10 @@ bool SkPathEffect::asPoints(PointData* results, const SkPath& src, return false; } +SkPathEffect::DashType SkPathEffect::asADash(DashInfo* info) const { + return kNone_DashType; +} + /////////////////////////////////////////////////////////////////////////////// SkPairPathEffect::SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1) |