aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPathMeasure.h
diff options
context:
space:
mode:
authorGravatar hstern <hstern@google.com>2016-08-09 09:38:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-09 09:38:30 -0700
commit23d97760248300b7aec213a36f8b0485857240b5 (patch)
treeee288c1dcdef2777f1a5f0a07b66e6bb31f3c61b /include/core/SkPathMeasure.h
parent904527d165ce98c9fbaa9c05d3890070e3132170 (diff)
Move seg_to to a new header, define SkSegType enum there
Diffstat (limited to 'include/core/SkPathMeasure.h')
-rw-r--r--include/core/SkPathMeasure.h3
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;
};