diff options
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 4d328d1379..d8a7f91d55 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -410,6 +410,17 @@ public: const SkMatrix* localMatrix = NULL); /** + * Draw a roundrect using a paint. + * + * @param paint describes how to color pixels. + * @param rrect the roundrect to draw + * @param stroke the stroke information (width, join, cap) + */ + void drawRRect(const GrPaint& paint, + const SkRRect& rrect, + const SkStrokeRec& stroke); + + /** * Draws a path. * * @param paint describes how to color pixels. |