[f-spot/FSPOT_0_6_0_STABLE] respect the Interpolation mode on drawing
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot/FSPOT_0_6_0_STABLE] respect the Interpolation mode on drawing
- Date: Wed, 9 Sep 2009 14:51:30 +0000 (UTC)
commit e0034910400e8d538ca1508cb719d65e8ebe016e
Author: Stephane Delcroix <stephane delcroix org>
Date: Wed Sep 9 16:50:14 2009 +0200
respect the Interpolation mode on drawing
this fixes bgo594274. original patch and debug by Daniel Drake
src/Widgets/ImageView.cs | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/Widgets/ImageView.cs b/src/Widgets/ImageView.cs
index 2ba323c..0bf8c26 100644
--- a/src/Widgets/ImageView.cs
+++ b/src/Widgets/ImageView.cs
@@ -441,14 +441,12 @@ namespace FSpot.Widgets
//draw synchronously if InterpType.Nearest or zoom 1:1
if (Interpolation == InterpType.Nearest || zoom == 1.0) {
- PaintRectangle (p_area, Interpolation);
+ PaintRectangle (p_area, InterpType.Nearest);
continue;
}
- //delay all other interpolation types
-// GLib.Idle.Add (...);
-
- PaintRectangle (p_area, InterpType.Nearest);
+ //Do this on idle ???
+ PaintRectangle (p_area, Interpolation);
}
if (can_select)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]