From 277c3f87656c44e0a651ed0dd56efa16c0ab07b4 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 31 May 2013 15:17:50 +0000 Subject: 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 --- bench/PathBench.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bench/PathBench.cpp') 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)], -- cgit v1.2.3