From c1b905046c4bfd681a82f32d9c26cefb789aed1b Mon Sep 17 00:00:00 2001 From: flavio Date: Thu, 19 Jul 2012 00:05:25 +0000 Subject: Cairo corrections --- (limited to 'mouth.py') diff --git a/mouth.py b/mouth.py index 2b517bd..6ff6243 100644 --- a/mouth.py +++ b/mouth.py @@ -24,7 +24,7 @@ # This code is a super-stripped down version of the waveform view from Measure from gi.repository import Gtk -import cairo +from gi.repository import cairo from struct import unpack import numpy.core @@ -72,7 +72,7 @@ class Mouth(Gtk.DrawingArea): #Create context, disable antialiasing self.context = context - self.context.set_antialias(cairo.ANTIALIAS_NONE) + #self.context.set_antialias(cairo.ANTIALIAS_NONE) # set a clip region for the expose event. # This reduces redrawing work (and time) -- cgit v0.9.1