| 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 | |
| 11 | #include <memory> |
| 12 | #include "src/gpu/GrColor.h" |
| 13 | |
| 14 | class GrDrawOp; |
| 15 | class GrRecordingContext; |
| 16 | |
| 17 | class SkMatrix; |
| 18 | class SkRRect; |
| 19 | |
| 20 | namespace GrShadowRRectOp { |
| 21 | |
| 22 | std::unique_ptr<GrDrawOp> Make(GrRecordingContext*, |
| 23 | GrColor, |
| 24 | const SkMatrix& viewMatrix, |
| 25 | const SkRRect&, |
| 26 | SkScalar blurWidth, |
| 27 | SkScalar insetWidth); |
| 28 | } |
| 29 | |
| 30 | #endif |
| 31 |