[cairo-commit] cairo-demo/cairo_snippets cairo_snippets_pdf.c, NONE, 1.1 ChangeLog, 1.1, 1.2 Makefile, 1.1, 1.2 gradient.cairo, 1.1, 1.2

OEyvind Kolaas commit at pdx.freedesktop.org
Mon May 17 19:34:18 PDT 2004


Committed by: pippin

Update of /cvs/cairo/cairo-demo/cairo_snippets
In directory pdx:/tmp/cvs-serv15481

Modified Files:
	ChangeLog Makefile gradient.cairo 
Added Files:
	cairo_snippets_pdf.c 
Log Message:
added pdf backend


--- NEW FILE: cairo_snippets_pdf.c ---
(This appears to be a binary file; contents omitted.)

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** a/ChangeLog	16 May 2004 19:09:50 -0000	1.1
--- b/ChangeLog	18 May 2004 02:34:16 -0000	1.2
***************
*** 1,2 ****
--- 1,6 ----
+ 2004-05-18 OEyvind Kolaas <pippin at freedesktop.org> 
+    * cairo_snippets_pdf.c, Makefile: added pdf backend, initially commented
+    out in Makefile
+     
  2004-05-16 OEyvind Kolaas <pippin at freedesktop.org> 
  

Index: Makefile
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** a/Makefile	16 May 2004 19:09:50 -0000	1.1
--- b/Makefile	18 May 2004 02:34:16 -0000	1.2
***************
*** 5,9 ****
  LIBS   += `pkg-config --libs gtkcairo`
  
! all: cairo_snippets_gtk cairo_snippets_png
  
  snippets.c: prepare_snippets *.cairo
--- 5,9 ----
  LIBS   += `pkg-config --libs gtkcairo`
  
! all: cairo_snippets_gtk cairo_snippets_png cairo_snippets_pdf
  
  snippets.c: prepare_snippets *.cairo
***************
*** 13,16 ****
--- 13,19 ----
  	rm -f prepare_snippets cairo_snippets_png cairo_snippets_gtk snippets.html snippets.c *.png *.o *~
  
+ cairo_snippets_pdf: cairo_snippets_pdf.o snippets.o png_io.o
+ 	gcc $< snippets.o png_io.o -o $@ $(LIBS)
+ 
  cairo_snippets_png: cairo_snippets_png.o snippets.o png_io.o
  	gcc $< snippets.o png_io.o -o $@ $(LIBS)

Index: gradient.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/gradient.cairo,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** a/gradient.cairo	16 May 2004 19:09:50 -0000	1.1
--- b/gradient.cairo	18 May 2004 02:34:16 -0000	1.2
***************
*** 16,19 ****
  cairo_fill (cr);
  cairo_pattern_destroy (pat);
- 
- 
--- 16,17 ----





More information about the cairo-commit mailing list