diff options
author | 2016-08-10 17:11:29 -0700 | |
---|---|---|
committer | 2016-08-10 17:11:29 -0700 | |
commit | 286a8657da0364006e95cb0988477cc3a5f0e112 (patch) | |
tree | 80ae24ff27cdb50099cfa542ce9c4e9d322195e9 /experimental/svg/model/SkSVGShape.cpp | |
parent | d71fe83ac211a1fef77d122d39c33fdfe7010f86 (diff) |
[SVGDom] Add rx/ry support for <rect>
R=stephana@google.com,robertphillips@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2234863002
Review-Url: https://codereview.chromium.org/2234863002
Diffstat (limited to 'experimental/svg/model/SkSVGShape.cpp')
-rw-r--r-- | experimental/svg/model/SkSVGShape.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/experimental/svg/model/SkSVGShape.cpp b/experimental/svg/model/SkSVGShape.cpp index ad4b5cedae..516d4a2925 100644 --- a/experimental/svg/model/SkSVGShape.cpp +++ b/experimental/svg/model/SkSVGShape.cpp @@ -11,6 +11,7 @@ SkSVGShape::SkSVGShape(SkSVGTag t) : INHERITED(t) {} void SkSVGShape::onRender(const SkSVGRenderContext& ctx) const { + // TODO: this approach forces duplicate geometry resolution in onDraw(); refactor to avoid. if (const SkPaint* fillPaint = ctx.presentationContext().fillPaint()) { this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint); } |