diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-14 13:32:07 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-14 13:32:07 +0000 |
| commit | fd0ca31309d9fb4ffa8da11dee80f935ebc4c0fb (patch) | |
| tree | 54686ce820bd72a2081aec10d9638946937ae824 /src/sp-root.cpp | |
| parent | commit VinÃcius code (diff) | |
| parent | Add a few font related tests. (diff) | |
| download | inkscape-fd0ca31309d9fb4ffa8da11dee80f935ebc4c0fb.tar.gz inkscape-fd0ca31309d9fb4ffa8da11dee80f935ebc4c0fb.zip | |
update to trunk
(bzr r11950.1.295)
Diffstat (limited to 'src/sp-root.cpp')
| -rw-r--r-- | src/sp-root.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp index 12ac1bad4..12570e03e 100644 --- a/src/sp-root.cpp +++ b/src/sp-root.cpp @@ -25,7 +25,6 @@ #include "document.h" #include "inkscape-version.h" #include "sp-defs.h" -#include "sp-namedview.h" #include "sp-root.h" #include "display/drawing-group.h" #include "svg/stringstream.h" @@ -308,7 +307,6 @@ void SPRoot::update(SPCtx *ctx, guint flags) for (SPItemView *v = this->display; v != NULL; v = v->next) { Inkscape::DrawingGroup *g = dynamic_cast<Inkscape::DrawingGroup *>(v->arenaitem); g->setChildTransform(this->c2p); - g->setAntialiasing(sp_document_namedview(this->document, NULL)->antialiasing); } } @@ -375,7 +373,6 @@ Inkscape::DrawingItem *SPRoot::show(Inkscape::Drawing &drawing, unsigned int key if (ai) { Inkscape::DrawingGroup *g = dynamic_cast<Inkscape::DrawingGroup *>(ai); g->setChildTransform(this->c2p); - g->setAntialiasing(sp_document_namedview(this->document, NULL)->antialiasing); } return ai; @@ -394,13 +391,6 @@ const char *SPRoot::displayName() const { return "SVG"; // Do not translate } -void SPRoot::setAntialiasing(bool s) { - for (SPItemView *v = this->display; v != NULL; v = v->next) { - Inkscape::DrawingGroup *g = dynamic_cast<Inkscape::DrawingGroup *>(v->arenaitem); - g->setAntialiasing(s); - } -} - /* Local Variables: mode:c++ |
