diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-12-12 11:46:46 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-12-12 11:46:46 +0000 |
| commit | 2d7e60aef4b3e03ba6d82abc80932969ce0f639f (patch) | |
| tree | a1085f9fdf8e1a201197427a29d84d52b707eebe /src/style.cpp | |
| parent | Reduce code redundancy. (diff) | |
| download | inkscape-2d7e60aef4b3e03ba6d82abc80932969ce0f639f.tar.gz inkscape-2d7e60aef4b3e03ba6d82abc80932969ce0f639f.zip | |
Finish implementation of 'text-decoration-fill' and 'text-decoration-stroke'.
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/style.cpp b/src/style.cpp index aa3efa630..203abc608 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -115,6 +115,8 @@ class SPStylePropHelper { REGISTER_PROPERTY(SP_PROP_TEXT_DECORATION_LINE, text_decoration_line, "text-decoration-line"); REGISTER_PROPERTY(SP_PROP_TEXT_DECORATION_STYLE, text_decoration_style, "text-decoration-style"); REGISTER_PROPERTY(SP_PROP_TEXT_DECORATION_COLOR, text_decoration_color, "text-decoration-color"); + REGISTER_PROPERTY(SP_PROP_TEXT_DECORATION_FILL, text_decoration_fill, "text-decoration-fill"); + REGISTER_PROPERTY(SP_PROP_TEXT_DECORATION_STROKE, text_decoration_stroke, "text-decoration-stroke"); REGISTER_PROPERTY(SP_PROP_LETTER_SPACING, letter_spacing, "letter-spacing"); REGISTER_PROPERTY(SP_PROP_WORD_SPACING, word_spacing, "word-spacing"); @@ -332,6 +334,8 @@ SPStyle::SPStyle(SPDocument *document_in, SPObject *object_in) : text_decoration_line(), text_decoration_style(), text_decoration_color( "text-decoration-color" ), // SPIColor + text_decoration_fill( "text-decoration-fill" ), // SPIPaint + text_decoration_stroke("text-decoration-stroke" ), // SPIPaint // General visual properties clip_rule( "clip-rule", enum_clip_rule, SP_WIND_RULE_NONZERO ), |
