diff options
author | fmalita <fmalita@chromium.org> | 2016-08-15 12:45:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-15 12:45:11 -0700 |
commit | 6fb0648c35aead138e65133c031d2b4fe5c8f0c7 (patch) | |
tree | 20dc5450da40f37e1e68e1ade072ee81c456939a /experimental/svg/model/SkSVGAttribute.h | |
parent | d39430d0574513438b5831947052353290204a06 (diff) |
[SVGDom] Add opacity support
Group opacity support. Unlike the other presentation attributes we
support thus far, group opacity is not inherited.
R=robertphillips@google.com,stephana@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2246943002
Review-Url: https://codereview.chromium.org/2246943002
Diffstat (limited to 'experimental/svg/model/SkSVGAttribute.h')
-rw-r--r-- | experimental/svg/model/SkSVGAttribute.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/experimental/svg/model/SkSVGAttribute.h b/experimental/svg/model/SkSVGAttribute.h index d2f0cf2600..cc3e7a073c 100644 --- a/experimental/svg/model/SkSVGAttribute.h +++ b/experimental/svg/model/SkSVGAttribute.h @@ -18,6 +18,7 @@ enum class SkSVGAttribute { kFill, kFillOpacity, kHeight, + kOpacity, kPoints, kRx, kRy, @@ -48,6 +49,8 @@ struct SkSVGPresentationAttributes { SkTLazy<SkSVGLineJoin> fStrokeLineJoin; SkTLazy<SkSVGNumberType> fStrokeOpacity; SkTLazy<SkSVGLength> fStrokeWidth; + + SkTLazy<SkSVGNumberType> fOpacity; }; #endif // SkSVGAttribute_DEFINED |