blob: 126009558e3934525a1129c3a8821a96993512ee [file] [log] [blame]
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrShadowRRectOp_DEFINED
#define GrShadowRRectOp_DEFINED
#include "GrColor.h"
#include "SkRefCnt.h"
class GrLegacyMeshDrawOp;
class GrShaderCaps;
class SkMatrix;
class SkRRect;
class SkStrokeRec;
namespace GrShadowRRectOp {
std::unique_ptr<GrLegacyMeshDrawOp> Make(GrColor, const SkMatrix& viewMatrix, const SkRRect& rrect,
SkScalar blurWidth, SkScalar insetWidth,
SkScalar blurClamp = 1);
}
#endif