diff options
author | hstern <hstern@google.com> | 2016-08-09 09:38:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-09 09:38:30 -0700 |
commit | 23d97760248300b7aec213a36f8b0485857240b5 (patch) | |
tree | ee288c1dcdef2777f1a5f0a07b66e6bb31f3c61b /include/core/SkPathMeasure.h | |
parent | 904527d165ce98c9fbaa9c05d3890070e3132170 (diff) |
Move seg_to to a new header, define SkSegType enum there
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2221203002
Review-Url: https://codereview.chromium.org/2221203002
Diffstat (limited to 'include/core/SkPathMeasure.h')
-rw-r--r-- | include/core/SkPathMeasure.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPathMeasure.h b/include/core/SkPathMeasure.h index 2a512b8c38..1044f7eeb0 100644 --- a/include/core/SkPathMeasure.h +++ b/include/core/SkPathMeasure.h @@ -95,7 +95,8 @@ private: SkScalar fDistance; // total distance up to this point unsigned fPtIndex; // index into the fPts array unsigned fTValue : 30; - unsigned fType : 2; + unsigned fType : 2; // actually the enum SkSegType + // See SkPathMeasurePriv.h SkScalar getScalarT() const; }; |