From bdc1a20b120cd678ebfcb73aaa40fc4080efa545 Mon Sep 17 00:00:00 2001 From: Joe Lee Date: Fri, 28 Aug 2009 03:39:16 +0000 Subject: Non-antialiased cairo is really slow on the XO... --- 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() -- cgit v0.9.1