[cairo-commit] rcairo/samples blur.rb,1.2,1.3

Kouhei Sutou commit at pdx.freedesktop.org
Wed Apr 18 04:47:11 PDT 2007


Committed by: kou

Update of /cvs/cairo/rcairo/samples
In directory kemper:/tmp/cvs-serv14702/samples

Modified Files:
	blur.rb 
Log Message:
* samples/blur.rb: used convenience interface of Cairo::ImageSurface.new.


Index: blur.rb
===================================================================
RCS file: /cvs/cairo/rcairo/samples/blur.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- blur.rb	16 Apr 2007 07:31:43 -0000	1.2
+++ blur.rb	18 Apr 2007 11:47:01 -0000	1.3
@@ -14,7 +14,7 @@
 width = rectangle_width + 2 * margin
 height = (rectangle_height + 2 * margin) * 3
 
-surface = Cairo::ImageSurface.new(Cairo::FORMAT_ARGB32, width, height)
+surface = Cairo::ImageSurface.new(width, height)
 context = Cairo::Context.new(surface)
 
 context.set_source_color(:white)



More information about the cairo-commit mailing list