[Mono-bugs] [Bug 61400][Min] New - Graphics.DrawImage always uses InterpolationMode.NearestNeighbor

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 11 Jul 2004 10:36:22 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by juraj@hotfeet.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=61400

--- shadow/61400	2004-07-11 10:36:22.000000000 -0400
+++ shadow/61400.tmp.12189	2004-07-11 10:36:22.000000000 -0400
@@ -0,0 +1,23 @@
+Bug#: 61400
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: juraj@hotfeet.ch               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Graphics.DrawImage always uses InterpolationMode.NearestNeighbor
+
+The bug actually seems to be in libgdiplus.
+InterpolationMode is set to "HighQuality" by default in graphics.c. But
+"cairo_surface_set_filter" is never called. As both libpixman and cairo
+default to "Nearest", any bitmaps drawn with Graphics.DrawImage end up
+being scaled with this filter.