OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
bsalomon
2016/08/25 21:19:50
2016
msarett
2016/08/25 21:26:35
Done.
| |
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 GrNonAAStrokeRectBatch_DEFINED | 8 #ifndef GrRegionBatch_DEFINED |
9 #define GrNonAAStrokeRectBatch_DEFINED | 9 #define GrRegionBatch_DEFINED |
10 | 10 |
11 #include "GrColor.h" | 11 #include "GrColor.h" |
12 | 12 |
13 #include "SkTypes.h" | 13 class GrDrawBatch; |
14 class SkMatrix; | |
15 class SkRegion; | |
14 | 16 |
15 class GrDrawBatch; | 17 namespace GrRegionBatch { |
16 struct SkRect; | |
17 class SkStrokeRec; | |
18 class SkMatrix; | |
19 | |
20 namespace GrNonAAStrokeRectBatch { | |
21 | 18 |
22 GrDrawBatch* Create(GrColor color, | 19 GrDrawBatch* Create(GrColor color, |
23 const SkMatrix& viewMatrix, | 20 const SkMatrix& viewMatrix, |
24 const SkRect& rect, | 21 const SkRegion& region); |
25 const SkStrokeRec&, | |
26 bool snapToPixelCenters); | |
27 | 22 |
28 } | 23 }; |
29 | 24 |
30 #endif | 25 #endif |
OLD | NEW |