Chromium Code Reviews| Index: ui/gfx/canvas.h |
| diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h |
| index f3d9486f9a6224cbb804aa2288ef56cecdbd5f46..85e6a6e77dd789e7f33c3b8c3cc02808a9a57ce3 100644 |
| --- a/ui/gfx/canvas.h |
| +++ b/ui/gfx/canvas.h |
| @@ -260,6 +260,15 @@ class GFX_EXPORT Canvas { |
| // given |paint| parameters. |
| void DrawRoundRect(const Rect& rect, int radius, const SkPaint& paint); |
| + // Draws the given rectangle with rounded corners, where each radius can be |
| + // set separately, given |paint| parameters. |
| + void DrawRoundRect(const Rect& rect, |
| + int radTL, |
|
danakj
2014/09/15 17:49:52
style: rad_top_left
|
| + int radTR, |
| + int radBL, |
| + int radBR, |
| + const SkPaint& paint); |
| + |
| // Draws the given path using the given |paint| parameters. |
| void DrawPath(const SkPath& path, const SkPaint& paint); |