Index: src/gpu/GrBlurUtils.h |
diff --git a/src/gpu/GrBlurUtils.h b/src/gpu/GrBlurUtils.h |
index 0fc77266b0024f006d1f89c314acabca20077bed..525fa448d4aebb389614ad6d8e903f619b30a7c9 100644 |
--- a/src/gpu/GrBlurUtils.h |
+++ b/src/gpu/GrBlurUtils.h |
@@ -11,11 +11,15 @@ |
class GrClip; |
class GrContext; |
class GrDrawContext; |
+class GrPaint; |
class GrRenderTarget; |
+class GrStrokeInfo; |
struct SkIRect; |
class SkMatrix; |
robertphillips
2015/11/06 20:54:51
Move up a line ?
bsalomon
2015/11/09 19:35:22
Done.
|
+class SkMaskFilter; |
class SkPaint; |
class SkPath; |
+class SkPathEffect; |
/** |
@@ -35,6 +39,22 @@ namespace GrBlurUtils { |
const SkMatrix* prePathMatrix, |
const SkIRect& clipBounds, |
bool pathIsMutable); |
+ |
+ /** |
+ * Draw a path handling the mask filter. The mask filter is not optional. The path effect is |
+ * optional. The GrPaint will be modified after return. |
+ */ |
+ void drawPathWithMaskFilter(GrContext*, |
+ GrDrawContext*, |
+ GrRenderTarget*, |
+ const GrClip&, |
+ const SkPath& path, |
+ GrPaint*, |
+ const SkMatrix& viewMatrix, |
+ const SkMaskFilter*, |
+ const SkPathEffect*, |
+ const GrStrokeInfo&); |
+ |
}; |
#endif |