diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-31 15:17:50 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-31 15:17:50 +0000 |
commit | 277c3f87656c44e0a651ed0dd56efa16c0ab07b4 (patch) | |
tree | 863b9897fe1ab6263150dfbd8d391cb0f28ea655 /bench/PathBench.cpp | |
parent | 2d76d933ff8ba2090229599f32bdb2b17fb7ad50 (diff) |
bump picture version since SkPath has changed (conics)
enable conics in SkPath
git-svn-id: http://skia.googlecode.com/svn/trunk@9370 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/PathBench.cpp')
-rw-r--r-- | bench/PathBench.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bench/PathBench.cpp b/bench/PathBench.cpp index 5fe002541a..057a2b028c 100644 --- a/bench/PathBench.cpp +++ b/bench/PathBench.cpp @@ -275,6 +275,12 @@ protected: fPoints[(fCurrPoint + 1) & (kNumPoints - 1)]); fCurrPoint += 2; break; + case SkPath::kConic_Verb: + path->conicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], + fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], + SK_ScalarHalf); + fCurrPoint += 2; + break; case SkPath::kCubic_Verb: path->cubicTo(fPoints[(fCurrPoint + 0) & (kNumPoints - 1)], fPoints[(fCurrPoint + 1) & (kNumPoints - 1)], |