| Index: Source/platform/graphics/StrokeData.h
|
| diff --git a/Source/platform/graphics/StrokeData.h b/Source/platform/graphics/StrokeData.h
|
| index 177012d599924bc7b96526f723afb80fa49ec984..57c1799328222b5beed7636da9c8a42d992e0dee 100644
|
| --- a/Source/platform/graphics/StrokeData.h
|
| +++ b/Source/platform/graphics/StrokeData.h
|
| @@ -84,11 +84,15 @@ public:
|
| void setLineDash(const DashArray&, const float);
|
|
|
| // Sets everything on the paint except the pattern, gradient and color.
|
| - // GraphicsContext::setupShader does that. Returns a float representing the
|
| - // effective width of the pen. If a non-zero length is provided, the
|
| + // GraphicsContext::setupShader does that. If a non-zero length is provided, the
|
| // number of dashes/dots on a dashed/dotted line will be adjusted to
|
| // start and end that length with a dash/dot.
|
| - float setupPaint(SkPaint*, int length = 0) const;
|
| + void setupPaint(SkPaint*, int length = 0) const;
|
| +
|
| + // Setup any DashPathEffect on the paint. If a non-zero length is provided,
|
| + // and no line dash has been set, the number of dashes/dots on a dashed/dotted
|
| + // line will be adjusted to start and end that length with a dash/dot.
|
| + void setupPaintDashPathEffect(SkPaint*, int) const;
|
|
|
| private:
|
| StrokeStyle m_style;
|
|
|