Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: include/gpu/GrContext.h

Issue 23712005: Add bevel-stroke support in GrAARectRenderer (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrAARectRenderer.h » ('j') | src/gpu/GrAARectRenderer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/gpu/GrAARectRenderer.h » ('j') | src/gpu/GrAARectRenderer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698