OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef GrBlurUtils_DEFINED |
| 9 #define GrBlurUtils_DEFINED |
| 10 |
| 11 class GrClip; |
| 12 class GrContext; |
| 13 class GrDrawContext; |
| 14 class GrRenderTarget; |
| 15 struct SkIRect; |
| 16 class SkMatrix; |
| 17 class SkPaint; |
| 18 class SkPath; |
| 19 |
| 20 |
| 21 /** |
| 22 * Blur utilities. |
| 23 */ |
| 24 namespace GrBlurUtils { |
| 25 /** |
| 26 * Draw a path handling the mask filter if present. |
| 27 */ |
| 28 void drawPathWithMaskFilter(GrContext* context, |
| 29 GrDrawContext* drawContext, |
| 30 GrRenderTarget* rt, |
| 31 const GrClip& clip, |
| 32 const SkPath& origSrcPath, |
| 33 const SkPaint& paint, |
| 34 const SkMatrix& origViewMatrix, |
| 35 const SkMatrix* prePathMatrix, |
| 36 const SkIRect& clipBounds, |
| 37 bool pathIsMutable); |
| 38 }; |
| 39 |
| 40 #endif |
OLD | NEW |