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

Unified Diff: experimental/svg/model/SkSVGAttribute.h

Issue 2249033003: [SVGDom] Add <circle>, <ellipse> support (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review Created 4 years, 4 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 | « BUILD.gn ('k') | experimental/svg/model/SkSVGCircle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/model/SkSVGAttribute.h
diff --git a/experimental/svg/model/SkSVGAttribute.h b/experimental/svg/model/SkSVGAttribute.h
index cc3e7a073c4b89c85d14852115b99f3a6da1cb86..c94a23971234418569858a536e1cfc8b432cdc38 100644
--- a/experimental/svg/model/SkSVGAttribute.h
+++ b/experimental/svg/model/SkSVGAttribute.h
@@ -14,14 +14,17 @@
class SkSVGRenderContext;
enum class SkSVGAttribute {
+ kCx, // <circle>,<ellipse>: center x position
+ kCy, // <circle>,<ellipse>: center y position
kD,
kFill,
kFillOpacity,
kHeight,
kOpacity,
kPoints,
- kRx,
- kRy,
+ kR, // <circle>: radius
+ kRx, // <ellipse>,<rect>: horizontal (corner) radius
+ kRy, // <ellipse>,<rect>: vertical (corner) radius
kStroke,
kStrokeOpacity,
kStrokeLineCap,
« no previous file with comments | « BUILD.gn ('k') | experimental/svg/model/SkSVGCircle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698