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