aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-17 18:56:29 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-17 18:56:29 +0000
commit6d87557278052c131957e5d6e093d3a675162d22 (patch)
treea7cab14931cd8818b7f7aafba7c169bca994fb24 /include
parent33352d9623f982252aa539741ea38dbc545449b8 (diff)
3on/3off dashing optimization
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPathEffect.h4
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
};
/**