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

Unified Diff: ui/gfx/canvas.h

Issue 2026833003: MD - update checkbox and radio buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky review Created 4 years, 7 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 | « ui/gfx/BUILD.gn ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index fd06b6b7fa5114b44e63e08c4cd2378056901be1..a05c8e0fcf069619461ac43c65acb5fe745bdfb8 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -249,6 +249,11 @@ class GFX_EXPORT Canvas {
int radius,
const SkPaint& paint);
+ // Draws a circle with the given |paint| parameters.
+ void DrawCircle(const PointF& center_point,
+ float radius,
+ const SkPaint& paint);
+
// Draws the given rectangle with rounded corners of |radius| using the
// given |paint| parameters. DEPRECATED in favor of the RectF version below.
// TODO(mgiuca): Remove this (http://crbug.com/553726).
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698