blob: c4d313dd69e76a7fc29c953442e5365cd34fef21 [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>
Greg Danielf91aeb22019-06-18 09:58:02 -040012#include "src/gpu/GrColor.h"
Brian Salomonfc527d22016-12-14 21:07:01 -050013
Brian Salomon05969092017-07-13 11:20:51 -040014class GrDrawOp;
Robert Phillipsb97da532019-02-12 15:24:12 -050015class GrRecordingContext;
16
Brian Salomonfc527d22016-12-14 21:07:01 -050017class SkMatrix;
18class SkRRect;
Brian Salomonfc527d22016-12-14 21:07:01 -050019
20namespace GrShadowRRectOp {
21
Robert Phillipsb97da532019-02-12 15:24:12 -050022std::unique_ptr<GrDrawOp> Make(GrRecordingContext*,
Robert Phillips7c525e62018-06-12 10:11:12 -040023 GrColor,
24 const SkMatrix& viewMatrix,
Robert Phillipsb97da532019-02-12 15:24:12 -050025 const SkRRect&,
Robert Phillips7c525e62018-06-12 10:11:12 -040026 SkScalar blurWidth,
Jim Van Verthfb186392018-09-11 11:37:46 -040027 SkScalar insetWidth);
Brian Salomonfc527d22016-12-14 21:07:01 -050028}
29
30#endif