diff options
author | reed <reed@google.com> | 2014-12-17 08:21:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-17 08:21:05 -0800 |
commit | 220f926d9d4b38a9018c922c095847bbd261f583 (patch) | |
tree | efce65017941c05999dffbc84c243b0fd14e8f77 /include/core/SkPathMeasure.h | |
parent | ed9f7a9220db8484af2216bd66701dc1043abb4b (diff) |
use conics
BUG=skia:
Review URL: https://codereview.chromium.org/455043002
Diffstat (limited to 'include/core/SkPathMeasure.h')
-rw-r--r-- | include/core/SkPathMeasure.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPathMeasure.h b/include/core/SkPathMeasure.h index bc46b4a38b..f6e606f0c0 100644 --- a/include/core/SkPathMeasure.h +++ b/include/core/SkPathMeasure.h @@ -11,6 +11,8 @@ #include "SkPath.h" #include "SkTDArray.h" +struct SkConic; + class SK_API SkPathMeasure : SkNoncopyable { public: SkPathMeasure(); @@ -101,6 +103,7 @@ private: void buildSegments(); SkScalar compute_quad_segs(const SkPoint pts[3], SkScalar distance, int mint, int maxt, int ptIndex); + SkScalar compute_conic_segs(const SkConic&, SkScalar distance, int mint, int maxt, int ptIndex); SkScalar compute_cubic_segs(const SkPoint pts[3], SkScalar distance, int mint, int maxt, int ptIndex); const Segment* distanceToSegment(SkScalar distance, SkScalar* t); |