summaryrefslogtreecommitdiffstats
path: root/src/display/nr-style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-05-01 19:46:40 +0000
committertavmjong-free <tavmjong@free.fr>2014-05-01 19:46:40 +0000
commit7723d455c0daf1e07da9eba75b362c1d0a8556a5 (patch)
treec4dc25446af77f9c9cfd8249bd6e265e6ea56547 /src/display/nr-style.cpp
parentEnable support for 'paint-order', rendering only. (diff)
downloadinkscape-7723d455c0daf1e07da9eba75b362c1d0a8556a5.tar.gz
inkscape-7723d455c0daf1e07da9eba75b362c1d0a8556a5.zip
Enable 'paint-order', (rendering only)... missing changes.
(bzr r13330)
Diffstat (limited to 'src/display/nr-style.cpp')
-rw-r--r--src/display/nr-style.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/display/nr-style.cpp b/src/display/nr-style.cpp
index 3d2d36483..09a28e63c 100644
--- a/src/display/nr-style.cpp
+++ b/src/display/nr-style.cpp
@@ -69,9 +69,7 @@ NRStyle::NRStyle()
, line_through_position(0)
, font_size(0)
{
-#ifdef WITH_SVG2
paint_order_layer[0] = PAINT_ORDER_NORMAL;
-#endif
}
NRStyle::~NRStyle()
@@ -165,7 +163,6 @@ void NRStyle::set(SPStyle *style)
}
-#ifdef WITH_SVG2
for( unsigned i = 0; i < PAINT_ORDER_LAYERS; ++i) {
switch (style->paint_order.layer[i]) {
case SP_CSS_PAINT_ORDER_NORMAL:
@@ -182,7 +179,6 @@ void NRStyle::set(SPStyle *style)
break;
}
}
-#endif
text_decoration_line = TEXT_DECORATION_LINE_CLEAR;
if(style->text_decoration_line.inherit ){ text_decoration_line |= TEXT_DECORATION_LINE_INHERIT; }