OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GrAAStrokeRectBatch_DEFINED | 8 #ifndef GrAAStrokeRectBatch_DEFINED |
9 #define GrAAStrokeRectBatch_DEFINED | 9 #define GrAAStrokeRectBatch_DEFINED |
10 | 10 |
11 #include "GrColor.h" | 11 #include "GrColor.h" |
12 | 12 |
13 class GrDrawBatch; | 13 class GrDrawBatch; |
14 class GrResourceProvider; | 14 class GrResourceProvider; |
15 class SkMatrix; | 15 class SkMatrix; |
16 struct SkRect; | 16 struct SkRect; |
17 | 17 |
18 namespace GrAAStrokeRectBatch { | 18 namespace GrAAStrokeRectBatch { |
19 | 19 |
20 GrDrawBatch* Create(GrColor color, | 20 GrDrawBatch* Create(GrColor color, |
21 const SkMatrix& viewMatrix, | 21 const SkMatrix& viewMatrix, |
22 const SkRect& devOutside, | 22 const SkRect& devOutside, |
23 const SkRect& devOutsideAssist, | 23 const SkRect& devOutsideAssist, |
24 const SkRect& devInside, | 24 const SkRect& devInside, |
25 bool miterStroke); | 25 bool miterStroke, |
| 26 bool degenerate); |
26 | 27 |
27 }; | 28 }; |
28 | 29 |
29 #endif | 30 #endif |
OLD | NEW |