summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-group.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2014-03-13 22:37:07 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2014-03-13 22:37:07 +0000
commit32ef25632164e5af8766a5364400b579edde4ebf (patch)
treee2fedf64a96e22351dae5321822dd902f6c9314e /src/display/drawing-group.cpp
parentFix gradient position on document import (bug #1283193) (diff)
downloadinkscape-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/display/drawing-group.cpp')
-rw-r--r--src/display/drawing-group.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/display/drawing-group.cpp b/src/display/drawing-group.cpp
index c03e0f3ba..38ace001f 100644
--- a/src/display/drawing-group.cpp
+++ b/src/display/drawing-group.cpp
@@ -22,7 +22,6 @@ DrawingGroup::DrawingGroup(Drawing &drawing)
: DrawingItem(drawing)
, _style(NULL)
, _child_transform(NULL)
- , _uses_antialiasing(true)
{}
DrawingGroup::~DrawingGroup()
@@ -48,15 +47,6 @@ DrawingGroup::setStyle(SPStyle *style)
_setStyleCommon(_style, style);
}
-void
-DrawingGroup::setAntialiasing(bool a)
-{
- if (_uses_antialiasing != a) {
- _uses_antialiasing = a;
- _markForUpdate(STATE_ALL, true);
- }
-}
-
/**
* Set additional transform for the group.
* This is applied after the normal transform and mainly useful for
@@ -110,13 +100,6 @@ DrawingGroup::_updateItem(Geom::IntRect const &area, UpdateContext const &ctx, u
unsigned
DrawingGroup::_renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags, DrawingItem *stop_at)
{
- DrawingContext::Save aa_save;
-
- if (!_uses_antialiasing) {
- aa_save.save(dc);
- cairo_set_antialias(dc.raw(), CAIRO_ANTIALIAS_NONE);
- }
-
if (stop_at == NULL) {
// normal rendering
for (ChildrenList::iterator i = _children.begin(); i != _children.end(); ++i) {