Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Lee <joe@jotaro.com>2009-08-28 03:39:16 (GMT)
committer Joe Lee <joe@jotaro.com>2009-08-28 03:39:16 (GMT)
commitbdc1a20b120cd678ebfcb73aaa40fc4080efa545 (patch)
tree3b1281ffc3caad580cea2493306affa1809b0150
parent6a8e927c1f37f9638f5b8915afdbde7755af61e4 (diff)
Non-antialiased cairo is really slow on the XO...
-rw-r--r--gridwidget.py1
-rw-r--r--helpwidget.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/gridwidget.py b/gridwidget.py
index 2bf78a8..bc83171 100644
--- a/gridwidget.py
+++ b/gridwidget.py
@@ -264,7 +264,6 @@ class GridWidget(gtk.DrawingArea):
event.area.width,
event.area.height)
cr.clip()
- cr.set_antialias(cairo.ANTIALIAS_NONE)
(width, height) = self.window.get_size()
self._current_drawer.draw(cr, width, height)
diff --git a/helpwidget.py b/helpwidget.py
index d0dd7da..c8147a6 100644
--- a/helpwidget.py
+++ b/helpwidget.py
@@ -690,7 +690,6 @@ class _PreviewWidget(gtk.DrawingArea):
self._draw(cr, width, height)
def _draw(self, cr, width, height):
- cr.set_antialias(cairo.ANTIALIAS_NONE)
cr.set_source_rgb(*_BG_COLOR)
cr.rectangle(0, 0, width, height)
cr.fill()