Chromium Code Reviews| Index: include/gpu/GrContext.h |
| =================================================================== |
| --- include/gpu/GrContext.h (revision 11177) |
| +++ include/gpu/GrContext.h (working copy) |
| @@ -400,7 +400,8 @@ |
| void drawRect(const GrPaint& paint, |
| const SkRect&, |
| SkScalar strokeWidth = -1, |
| - const SkMatrix* matrix = NULL); |
| + const SkMatrix* matrix = NULL, |
| + bool miterStroke = true); |
|
bsalomon
2013/09/17 14:40:20
Could we modify this to take an SkStrokeRec rather
yunchao
2013/09/22 08:36:37
Other places also called GrContext::drawRect. If w
bsalomon
2013/09/25 15:26:24
What about
void drawRect(const GrPaint&,
|
| /** |
| * Maps a rect of local coordinates onto the a rect of destination |