[cairo-commit] cairo/src cairo-xlib-surface.c, 1.70,
1.71 cairo-xcb-surface.c, 1.27, 1.28
Carl Worth
commit at pdx.freedesktop.org
Tue May 17 11:28:30 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv27495/src
Modified Files:
cairo-xlib-surface.c cairo-xcb-surface.c
Log Message:
* src/cairo-xcb-surface.c:
* src/cairo-xlib-surface.c: Fix documentation to not mention
set_size for the _for_bitmap functions.
Index: cairo-xlib-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib-surface.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- cairo-xlib-surface.c 17 May 2005 13:08:01 -0000 1.70
+++ cairo-xlib-surface.c 17 May 2005 18:28:26 -0000 1.71
@@ -1125,17 +1125,13 @@
/**
* cairo_xlib_surface_create_for_bitmap:
* @dpy: an X Display
- * @bitmap: an X Drawable, (a depth-1 Pixmap)
+ * @bitmap: an X bitmap (a depth-1 Pixmap)
* @width: the current width of @bitmap.
* @height: the current height of @bitmap.
*
* Creates an Xlib surface that draws to the given bitmap.
* This will be drawn to as a CAIRO_FORMAT_A1 object.
*
- * NOTE: If @drawable is a Window, then the function
- * cairo_xlib_surface_set_size must be called whenever the size of the
- * window changes.
- *
* Return value: the newly created surface
**/
cairo_surface_t *
Index: cairo-xcb-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xcb-surface.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- cairo-xcb-surface.c 17 May 2005 13:11:32 -0000 1.27
+++ cairo-xcb-surface.c 17 May 2005 18:28:26 -0000 1.28
@@ -1178,16 +1178,12 @@
/**
* cairo_xcb_surface_create_for_bitmap:
* @c: an XCB connection
- * @bitmap: an XCB drawable (a depth-1 pixmap)
+ * @bitmap: an XCB bitmap (a depth-1 pixmap)
* @width: the current width of @bitmap
* @height: the current height of @bitmap
*
* Creates an XCB surface that draws to the given bitmap.
* This will be drawn to as a CAIRO_FORMAT_A1 object.
- *
- * NOTE: If @drawable is a Window, then the function
- * cairo_xlib_surface_set_size must be called whenever the size of the
- * window changes.
*
* Return value: the newly created surface
**/
More information about the cairo-commit
mailing list