blob: a4607cb5c257f0f3d3bce1115c6ff1607125005a [file] [log] [blame]
Brian Salomonfc527d22016-12-14 21:07:01 -05001/*
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 Salomon05969092017-07-13 11:20:51 -040011#include <memory>
Brian Salomonfc527d22016-12-14 21:07:01 -050012#include "GrColor.h"
Brian Salomonfc527d22016-12-14 21:07:01 -050013
Robert Phillips7c525e62018-06-12 10:11:12 -040014class GrContext;
Brian Salomon05969092017-07-13 11:20:51 -040015class GrDrawOp;
Brian Salomonfc527d22016-12-14 21:07:01 -050016class SkMatrix;
17class SkRRect;
18class SkStrokeRec;
19
20namespace GrShadowRRectOp {
21
Robert Phillips7c525e62018-06-12 10:11:12 -040022std::unique_ptr<GrDrawOp> Make(GrContext*,
23 GrColor,
24 const SkMatrix& viewMatrix,
25 const SkRRect& rrect,
26 SkScalar blurWidth,
Jim Van Verthfb186392018-09-11 11:37:46 -040027 SkScalar insetWidth);
Brian Salomonfc527d22016-12-14 21:07:01 -050028}
29
30#endif