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