[cairo-commit] rcairo/samples png.rb,1.3,1.4

Kouhei Sutou commit at pdx.freedesktop.org
Fri Oct 7 06:44:42 PDT 2005


Committed by: kou

Update of /cvs/cairo/rcairo/samples
In directory gabe:/tmp/cvs-serv7086/samples

Modified Files:
	png.rb 
Log Message:
* packages/cairo/ext/rb_cairo_surface.c: Followup previous commit.
* samples/png.rb: Use Cairo::SurfaceImage instead of
  Cairo::Surface.


Index: png.rb
===================================================================
RCS file: /cvs/cairo/rcairo/samples/png.rb,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- png.rb	23 Jun 2005 09:30:48 -0000	1.3
+++ png.rb	7 Oct 2005 13:44:40 -0000	1.4
@@ -5,7 +5,7 @@
 
 require 'cairo'
 include Cairo
-cr=Context.new(Surface.new(FORMAT_ARGB32, 200,200))
+cr=Context.new(SurfaceImage.new(FORMAT_ARGB32, 200,200))
 
 # fill background with white
 cr.set_source_rgb(1.0, 1.0, 1.0)



More information about the cairo-commit mailing list