[cairo-commit] cairo-demo/cairo_snippets ChangeLog, 1.15, 1.16 operator_add.cairo, 1.2, 1.3 operator_atop.cairo, 1.2, 1.3 operator_atop_reverse.cairo, 1.2, 1.3 operator_in.cairo, 1.2, 1.3 operator_in_reverse.cairo, 1.2, 1.3 operator_out.cairo, 1.2, 1.3 operator_out_reverse.cairo, 1.2, 1.3 operator_over.cairo, 1.2, 1.3 operator_over_reverse.cairo, 1.2, 1.3 operator_saturate.cairo, 1.2, 1.3 operator_xor.cairo, 1.2, 1.3

Carl Worth commit at pdx.freedesktop.org
Fri Jun 4 08:37:29 PDT 2004


Committed by: cworth

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

Modified Files:
	ChangeLog operator_add.cairo operator_atop.cairo 
	operator_atop_reverse.cairo operator_in.cairo 
	operator_in_reverse.cairo operator_out.cairo 
	operator_out_reverse.cairo operator_over.cairo 
	operator_over_reverse.cairo operator_saturate.cairo 
	operator_xor.cairo 
Log Message:

        * operator_add.cairo, operator_atop.cairo,
        operator_atop_reverse.cairo, operator_in.cairo,
        operator_in_reverse.cairo, operator_out.cairo,
        operator_out_reverse.cairo, operator_over.cairo,
        operator_over_reverse.cairo, operator_saturate.cairo,
        operator_xor.cairo: Set alpha to 0.5 for more interesting results.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** a/ChangeLog	26 May 2004 21:04:18 -0000	1.15
--- b/ChangeLog	4 Jun 2004 15:37:27 -0000	1.16
***************
*** 1,2 ****
--- 1,11 ----
+ 2004-06-04  Carl Worth  <cworth at isi.edu>
+ 
+ 	* operator_add.cairo, operator_atop.cairo,
+ 	operator_atop_reverse.cairo, operator_in.cairo,
+ 	operator_in_reverse.cairo, operator_out.cairo,
+ 	operator_out_reverse.cairo, operator_over.cairo,
+ 	operator_over_reverse.cairo, operator_saturate.cairo,
+ 	operator_xor.cairo: Set alpha to 0.5 for more interesting results.
+ 
  2004-05-26  OEyvind Kolaas <pippin at freedesktop.org>
  

Index: operator_add.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_add.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_add.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_add.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_ADD);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_atop.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_atop.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_atop.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_atop.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_ATOP);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_atop_reverse.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_atop_reverse.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_atop_reverse.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_atop_reverse.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_ATOP_REVERSE);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_in.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_in.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_in.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_in.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_IN);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_in_reverse.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_in_reverse.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_in_reverse.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_in_reverse.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_IN_REVERSE);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_out.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_out.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_out.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_out.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_OUT);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_out_reverse.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_out_reverse.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_out_reverse.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_out_reverse.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_OUT_REVERSE);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_over.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_over.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_over.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_over.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_over_reverse.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_over_reverse.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_over_reverse.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_over_reverse.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_OVER_REVERSE);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_saturate.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_saturate.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_saturate.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_saturate.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_SATURATE);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);

Index: operator_xor.cairo
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/operator_xor.cairo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/operator_xor.cairo	20 May 2004 13:17:20 -0000	1.2
--- b/operator_xor.cairo	4 Jun 2004 15:37:27 -0000	1.3
***************
*** 1,4 ****
--- 1,5 ----
  snippet_set_bg_svg (cr, "data/freedesktop.svg");
  cairo_set_operator (cr, CAIRO_OPERATOR_XOR);
+ cairo_set_alpha (cr, 0.5);
  cairo_set_rgb_color (cr, 1,0,0);
  cairo_rectangle (cr, 0.2,0.2, 0.5,0.5);





More information about the cairo-commit mailing list