1 /* 2 * Copyright 2015 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 GrAAStrokeRectOp_DEFINED 9 #define GrAAStrokeRectOp_DEFINED 10 11 #include "GrColor.h" 12 #include "SkRefCnt.h" 13 14 class GrMeshDrawOp; 15 class SkMatrix; 16 struct SkRect; 17 class SkStrokeRec; 18 19 namespace GrAAStrokeRectOp { 20 21 std::unique_ptr<GrMeshDrawOp> MakeFillBetweenRects(GrColor color, 22 const SkMatrix& viewMatrix, 23 const SkRect& devOutside, 24 const SkRect& devInside); 25 26 std::unique_ptr<GrMeshDrawOp> Make(GrColor color, 27 const SkMatrix& viewMatrix, 28 const SkRect& rect, 29 const SkStrokeRec& stroke); 30 } 31 32 #endif 33