diff options
Diffstat (limited to 'include/core/SkStrokeRec.h')
-rw-r--r-- | include/core/SkStrokeRec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkStrokeRec.h b/include/core/SkStrokeRec.h index 1e0ec880f7..42bed8cbe7 100644 --- a/include/core/SkStrokeRec.h +++ b/include/core/SkStrokeRec.h @@ -21,6 +21,7 @@ public: SkStrokeRec(InitStyle style); SkStrokeRec(const SkStrokeRec&); + SkStrokeRec(const SkPaint&, SkPaint::Style); explicit SkStrokeRec(const SkPaint&); enum Style { @@ -90,6 +91,9 @@ public: } private: + void init(const SkPaint& paint, SkPaint::Style style); + + SkScalar fWidth; SkScalar fMiterLimit; SkPaint::Cap fCap; |