diff options
| author | Martin Owens <doctormo@gmail.com> | 2018-10-04 19:04:51 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2018-10-05 22:03:39 +0000 |
| commit | 0d21bf621b8d146a9299050ffa53459e32e20d5e (patch) | |
| tree | bdf41eb2f479e6b3b5eb2cf2a8eec6346f8fee1a /src/style.cpp | |
| parent | Fix signaling issue with gradient stops not updating their parent (diff) | |
| download | inkscape-0d21bf621b8d146a9299050ffa53459e32e20d5e.tar.gz inkscape-0d21bf621b8d146a9299050ffa53459e32e20d5e.zip | |
Add new style register style property for stop color and opacity
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/style.cpp b/src/style.cpp index 4ee979387..e3642fdb2 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -180,6 +180,9 @@ class SPStylePropHelper { REGISTER_PROPERTY(SP_PROP_TEXT_RENDERING, text_rendering, "text-rendering"); REGISTER_PROPERTY(SP_PROP_ENABLE_BACKGROUND, enable_background, "enable-background"); + + REGISTER_PROPERTY(SP_PROP_STOP_COLOR, stop_color, "stop-color"); + REGISTER_PROPERTY(SP_PROP_STOP_OPACITY, stop_opacity, "stop-opacity"); } // this is a singleton, copy not allowed |
