Index: include/core/SkPathEffect.h |
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h |
index 6d3ed856372ee8edb476ca933f957c463965e0fe..c891f6db220dd655cbd10874cc04c8eb9ede8341 100644 |
--- a/include/core/SkPathEffect.h |
+++ b/include/core/SkPathEffect.h |
@@ -118,6 +118,8 @@ public: |
struct DashInfo { |
DashInfo() : fIntervals(NULL), fCount(0), fPhase(0) {} |
+ DashInfo(SkScalar* intervals, int32_t count, SkScalar phase) |
+ : fIntervals(intervals), fCount(count), fPhase(phase) {} |
SkScalar* fIntervals; //!< Length of on/off intervals for dashed lines |
// Even values represent ons, and odds offs |