diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-17 18:56:29 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-17 18:56:29 +0000 |
commit | 6d87557278052c131957e5d6e093d3a675162d22 (patch) | |
tree | a7cab14931cd8818b7f7aafba7c169bca994fb24 /include | |
parent | 33352d9623f982252aa539741ea38dbc545449b8 (diff) |
3on/3off dashing optimization
https://codereview.appspot.com/6891046/
git-svn-id: http://skia.googlecode.com/svn/trunk@6851 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPathEffect.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h index ee4c189fbc..fa29a34f73 100644 --- a/include/core/SkPathEffect.h +++ b/include/core/SkPathEffect.h @@ -164,12 +164,14 @@ public: }; uint32_t fFlags; // flags that impact the drawing of the points - // TODO: consider replacing the TDArray with either SkData or a ptr/len field SkPoint* fPoints; // the center point of each generated point int fNumPoints; // number of points in fPoints SkVector fSize; // the size to draw the points SkRect fClipRect; // clip required to draw the points (if kUseClip is set) SkPath fPath; // 'stamp' to be used at each point (if kUsePath is set) + + SkPath fFirst; // If not empty, contains geometry for first point + SkPath fLast; // If not empty, contains geometry for last point }; /** |