Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 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 GrShadowRRectOp_DEFINED |
| 9 | #define GrShadowRRectOp_DEFINED |
| 10 | |
Brian Salomon | 0596909 | 2017-07-13 11:20:51 -0400 | [diff] [blame] | 11 | #include <memory> |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 12 | #include "GrColor.h" |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 13 | |
Robert Phillips | 7c525e6 | 2018-06-12 10:11:12 -0400 | [diff] [blame] | 14 | class GrContext; |
Brian Salomon | 0596909 | 2017-07-13 11:20:51 -0400 | [diff] [blame] | 15 | class GrDrawOp; |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 16 | class SkMatrix; |
| 17 | class SkRRect; |
| 18 | class SkStrokeRec; |
| 19 | |
| 20 | namespace GrShadowRRectOp { |
| 21 | |
Robert Phillips | 7c525e6 | 2018-06-12 10:11:12 -0400 | [diff] [blame] | 22 | std::unique_ptr<GrDrawOp> Make(GrContext*, |
| 23 | GrColor, |
| 24 | const SkMatrix& viewMatrix, |
| 25 | const SkRRect& rrect, |
| 26 | SkScalar blurWidth, |
Jim Van Verth | fb18639 | 2018-09-11 11:37:46 -0400 | [diff] [blame] | 27 | SkScalar insetWidth); |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | #endif |