[cairo-commit] cairo/test filter-nearest-offset.c,1.1,1.2

Billy Biggs commit at pdx.freedesktop.org
Tue Aug 16 21:04:05 PDT 2005


Committed by: vektor

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv5690/test

Modified Files:
	filter-nearest-offset.c 
Log Message:
	* test/filter-nearest-offset.c: (draw): Fix the filter-nearest-offset
	test to actually test CAIRO_FILTER_NEAREST.



Index: filter-nearest-offset.c
===================================================================
RCS file: /cvs/cairo/cairo/test/filter-nearest-offset.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- filter-nearest-offset.c	3 May 2005 15:33:32 -0000	1.1
+++ filter-nearest-offset.c	17 Aug 2005 04:04:02 -0000	1.2
@@ -87,7 +87,7 @@
 	    cairo_set_source_surface (cr, surface,
 				      PAD + i * (STAMP_WIDTH  + PAD) + i_step,
 				      PAD + j * (STAMP_HEIGHT + PAD) + j_step);
-	    cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_BEST);
+	    cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_NEAREST);
 	    cairo_paint (cr);
 	
 	    cairo_restore (cr);



More information about the cairo-commit mailing list