Index: include/core/SkStrokeRec.h |
diff --git a/include/core/SkStrokeRec.h b/include/core/SkStrokeRec.h |
index 0c5892f62584393c5a9d49336afaae1c35039418..68fa14581d31a4ccb952172233a47dbfbd80c761 100644 |
--- a/include/core/SkStrokeRec.h |
+++ b/include/core/SkStrokeRec.h |
@@ -85,6 +85,11 @@ public: |
*/ |
bool applyToPath(SkPath* dst, const SkPath& src) const; |
+ /** |
+ * Apply these stroke parameters to a paint. |
+ */ |
+ void applyToPaint(SkPaint* paint) const; |
+ |
bool operator==(const SkStrokeRec& other) const { |
return fWidth == other.fWidth && |
fMiterLimit == other.fMiterLimit && |