xref: /aosp_15_r20/external/skia/src/gpu/ganesh/ops/ShadowRRectOp.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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 ShadowRRectOp_DEFINED
9 #define ShadowRRectOp_DEFINED
10 
11 #include "include/core/SkScalar.h"
12 #include "src/gpu/ganesh/GrColor.h"
13 #include "src/gpu/ganesh/ops/GrOp.h"
14 
15 class GrRecordingContext;
16 
17 class SkMatrix;
18 class SkRRect;
19 
20 namespace skgpu::ganesh::ShadowRRectOp {
21 
22 GrOp::Owner Make(GrRecordingContext*,
23                  GrColor,
24                  const SkMatrix& viewMatrix,
25                  const SkRRect&,
26                  SkScalar blurWidth,
27                  SkScalar insetWidth);
28 
29 }  // namespace skgpu::ganesh::ShadowRRectOp
30 
31 #endif // ShadowRRectOp_DEFINED
32