[cairo-commit] libpixman/src icimage.c, 1.21, 1.22 icint.h, 1.20, 1.21 pixman.h, 1.13, 1.14

David Reveman commit at pdx.freedesktop.org
Sat Sep 11 19:55:26 PDT 2004


Committed by: davidr

Update of /cvs/cairo/libpixman/src
In directory gabe:/tmp/cvs-serv8845/src

Modified Files:
	icimage.c icint.h pixman.h 
Log Message:
Added function for setting component alpha

Index: icimage.c
===================================================================
RCS file: /cvs/cairo/libpixman/src/icimage.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** icimage.c	12 Sep 2004 02:42:40 -0000	1.21
--- icimage.c	12 Sep 2004 02:55:24 -0000	1.22
***************
*** 145,148 ****
--- 145,157 ----
  }
  
+ void
+ pixman_image_set_component_alpha (pixman_image_t	*image,
+ 		  int		component_alpha)
+ {
+     if (image)
+ 	image->componentAlpha = component_alpha;
+ }
+ slim_hidden_def(pixman_image_set_component_alpha);
+ 
  int
  pixman_image_set_transform (pixman_image_t		*image,

Index: icint.h
===================================================================
RCS file: /cvs/cairo/libpixman/src/icint.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** icint.h	12 Sep 2004 02:33:23 -0000	1.20
--- icint.h	12 Sep 2004 02:55:24 -0000	1.21
***************
*** 820,823 ****
--- 820,824 ----
  slim_hidden_proto(pixman_image_destroy)
  slim_hidden_proto(pixman_fill_rectangles)
+ slim_hidden_proto(pixman_image_set_component_alpha)
  slim_hidden_proto(pixman_image_set_repeat)
  slim_hidden_proto(pixman_composite)

Index: pixman.h
===================================================================
RCS file: /cvs/cairo/libpixman/src/pixman.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** pixman.h	16 Apr 2004 15:32:53 -0000	1.13
--- pixman.h	12 Sep 2004 02:55:24 -0000	1.14
***************
*** 324,327 ****
--- 324,331 ----
  } pixman_filter_t;
  
+ void
+ pixman_image_set_component_alpha (pixman_image_t *image,
+ 				  int		 component_alpha);
+ 
  int
  pixman_image_set_transform (pixman_image_t	*image,




More information about the cairo-commit mailing list