From 0d21bf621b8d146a9299050ffa53459e32e20d5e Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Thu, 4 Oct 2018 15:04:51 -0400 Subject: Add new style register style property for stop color and opacity --- src/style.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/style.cpp') 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 -- cgit v1.2.3