diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2014-03-13 22:37:07 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2014-03-13 22:37:07 +0000 |
| commit | 32ef25632164e5af8766a5364400b579edde4ebf (patch) | |
| tree | e2fedf64a96e22351dae5321822dd902f6c9314e /src/sp-item.cpp | |
| parent | Fix gradient position on document import (bug #1283193) (diff) | |
| download | inkscape-32ef25632164e5af8766a5364400b579edde4ebf.tar.gz inkscape-32ef25632164e5af8766a5364400b579edde4ebf.zip | |
Reimplement global aliasing toggle as a 'shape-rendering' property
on the root element.
(bzr r13146)
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 9c8b28559..b10aae1c6 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -599,6 +599,7 @@ void SPItem::update(SPCtx* /*ctx*/, guint flags) { if (flags & SP_OBJECT_STYLE_MODIFIED_FLAG) { for (SPItemView *v = item->display; v != NULL; v = v->next) { v->arenaitem->setOpacity(SP_SCALE24_TO_FLOAT(object->style->opacity.value)); + v->arenaitem->setAntialiasing(object->style->shape_rendering.computed != SP_CSS_SHAPE_RENDERING_CRISPEDGES); v->arenaitem->setIsolation( object->style->isolation.value ); v->arenaitem->setBlendMode( object->style->blend_mode.value ); v->arenaitem->setVisible(!item->isHidden()); |
