• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "GrColor.h"
13 
14 class GrDrawOp;
15 class SkMatrix;
16 class SkRRect;
17 class SkStrokeRec;
18 
19 namespace GrShadowRRectOp {
20 
21 std::unique_ptr<GrDrawOp> Make(GrColor, const SkMatrix& viewMatrix, const SkRRect& rrect,
22                                SkScalar blurWidth, SkScalar insetWidth, SkScalar blurClamp = 1);
23 }
24 
25 #endif
26