[cairo-commit] pycairo/examples/cairo_snippets snippets_gtk.py, 1.14, 1.15 snippets_pdf.py, 1.10, 1.11 snippets_png.py, 1.8, 1.9 snippets_ps.py, 1.6, 1.7 snippets_svg.py, 1.2, 1.3

Steve Chaplin commit at pdx.freedesktop.org
Thu Aug 3 19:24:23 PDT 2006


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples/cairo_snippets
In directory kemper:/tmp/cvs-serv12247/examples/cairo_snippets

Modified Files:
	snippets_gtk.py snippets_pdf.py snippets_png.py snippets_ps.py 
	snippets_svg.py 
Log Message:
'SC'

Index: snippets_gtk.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_gtk.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- snippets_gtk.py	20 Jan 2006 11:15:21 -0000	1.14
+++ snippets_gtk.py	4 Aug 2006 02:24:21 -0000	1.15
@@ -12,7 +12,7 @@
 
 import pango
 
-from snippets import snip_list, snippet_normalize, snippet_set_bg_svg
+from snippets import snip_list, snippet_normalize
 
 Width, Height = 400, 400
 

Index: snippets_pdf.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_pdf.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- snippets_pdf.py	28 May 2006 02:03:07 -0000	1.10
+++ snippets_pdf.py	4 Aug 2006 02:24:21 -0000	1.11
@@ -11,7 +11,7 @@
 if not cairo.HAS_PDF_SURFACE:
     raise SystemExit ('cairo was not compiled with PDF support')
 
-from snippets import snip_list, snippet_normalize, snippet_set_bg_svg
+from snippets import snip_list, snippet_normalize
 
 
 width_in_inches, height_in_inches = 2, 2

Index: snippets_png.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_png.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- snippets_png.py	22 Jun 2005 00:48:07 -0000	1.8
+++ snippets_png.py	4 Aug 2006 02:24:21 -0000	1.9
@@ -10,7 +10,7 @@
 if not cairo.HAS_PNG_FUNCTIONS:
     raise SystemExit ('cairo was not compiled with PNG support')
 
-from snippets import snip_list, snippet_normalize, snippet_set_bg_svg
+from snippets import snip_list, snippet_normalize
 
 
 width, height = 256, 256 # used by snippet_normalize()
@@ -19,7 +19,7 @@
 def do_snippet (snippet):
     if verbose_mode:
         print 'processing %s' % snippet,
-    
+
     surface = cairo.ImageSurface (cairo.FORMAT_ARGB32, width, height)
     cr = cairo.Context (surface)
 
@@ -27,7 +27,7 @@
     try:
         execfile ('snippets/%s.py' % snippet, globals(), locals())
     except:
-        exc_type, exc_value = sys.exc_info()[:2] 
+        exc_type, exc_value = sys.exc_info()[:2]
         print >> sys.stderr, exc_type, exc_value
     else:
         cr.restore()
@@ -41,7 +41,7 @@
     if len(sys.argv) > 1 and sys.argv[1] == '-s':
         verbose_mode = False
         del sys.argv[1]
-    
+
     if len(sys.argv) > 1: # do specified snippets
         snippet_list = sys.argv[1:]
     else:                 # do all snippets

Index: snippets_ps.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_ps.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- snippets_ps.py	28 May 2006 02:03:07 -0000	1.6
+++ snippets_ps.py	4 Aug 2006 02:24:21 -0000	1.7
@@ -11,7 +11,7 @@
 if not cairo.HAS_PS_SURFACE:
     raise SystemExit ('cairo was not compiled with PS support')
 
-from snippets import snip_list, snippet_normalize, snippet_set_bg_svg
+from snippets import snip_list, snippet_normalize
 
 
 width_in_inches, height_in_inches = 2, 2

Index: snippets_svg.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_svg.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- snippets_svg.py	28 May 2006 02:03:07 -0000	1.2
+++ snippets_svg.py	4 Aug 2006 02:24:21 -0000	1.3
@@ -8,7 +8,7 @@
 if not cairo.HAS_SVG_SURFACE:
     raise SystemExit ('cairo was not compiled with SVG support')
 
-from snippets import snip_list, snippet_normalize, snippet_set_bg_svg
+from snippets import snip_list, snippet_normalize
 
 
 width_in_inches, height_in_inches = 2, 2



More information about the cairo-commit mailing list