aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/svg/model/SkSVGAttribute.h
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-08-16 15:38:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-16 15:38:51 -0700
commitdc4c2a9fb7210925df7cc5c142b691e6c817ca77 (patch)
treedced094ef0ebd63d084cbcb14d5cc67ac811f01e /experimental/svg/model/SkSVGAttribute.h
parent36931c2b47f81db7ccf441937567c6fda72ad3e6 (diff)
[SVGDom] Add <circle>, <ellipse> support
R=robertphillips@google.com,stephana@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2249033003 Review-Url: https://codereview.chromium.org/2249033003
Diffstat (limited to 'experimental/svg/model/SkSVGAttribute.h')
-rw-r--r--experimental/svg/model/SkSVGAttribute.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/experimental/svg/model/SkSVGAttribute.h b/experimental/svg/model/SkSVGAttribute.h
index cc3e7a073c..c94a239712 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,