[cairo-commit] libic/src ic.h,1.19,1.20 icimage.c,1.14,1.15
Carl Worth
commit at pdx.freedesktop.org
Sat Nov 1 05:23:58 PST 2003
Committed by: cworth
Update of /cvs/cairo/libic/src
In directory pdx:/tmp/cvs-serv11155/src
Modified Files:
ic.h icimage.c
Log Message:
Add IcImageGetDepth. Bump version to 0.1.3
Index: ic.h
===================================================================
RCS file: /cvs/cairo/libic/src/ic.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** ic.h 29 Oct 2003 18:45:02 -0000 1.19
--- ic.h 1 Nov 2003 13:23:55 -0000 1.20
***************
*** 196,199 ****
--- 196,202 ----
IcImageGetStride (IcImage *image);
+ extern int __external_linkage
+ IcImageGetDepth (IcImage *image);
+
extern IcFormat * __external_linkage
IcImageGetFormat (IcImage *image);
Index: icimage.c
===================================================================
RCS file: /cvs/cairo/libic/src/icimage.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** icimage.c 29 Oct 2003 18:54:26 -0000 1.14
--- icimage.c 1 Nov 2003 13:23:55 -0000 1.15
***************
*** 209,212 ****
--- 209,218 ----
int
+ IcImageGetDepth (IcImage *image)
+ {
+ return image->pixels->depth;
+ }
+
+ int
IcImageGetStride (IcImage *image)
{
More information about the cairo-commit
mailing list