[cairo-commit] src/cairo-surface.c
Andrea Canciani
ranma42 at kemper.freedesktop.org
Thu Aug 4 23:50:01 PDT 2011
src/cairo-surface.c | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 0e135d9f5aa5402ac3566c1fdd1bd13f0e343946
Author: Nis Martensen <nis.martensen at web.de>
Date: Thu Aug 4 22:08:19 2011 +0200
Mark the new API as such
cairo_surface_create_similar_image, cairo_surface_map_to_image and
cairo_surface_unmap_image were added in
a69335a84eb9225b477cc8c753470eb3805b852c.
diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 9a8fcb9..b699393 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -546,6 +546,8 @@ cairo_surface_create_similar (cairo_surface_t *other,
* This function always returns a valid pointer, but it will return a
* pointer to a "nil" surface if @other is already in an error state
* or any other error occurs.
+ *
+ * Since: 1.12
**/
cairo_surface_t *
cairo_surface_create_similar_image (cairo_surface_t *other,
@@ -590,6 +592,8 @@ cairo_surface_create_similar_image (cairo_surface_t *other,
* This function always returns a valid pointer, but it will return a
* pointer to a "nil" surface if @other is already in an error state
* or any other error occurs.
+ *
+ * Since: 1.12
**/
cairo_surface_t *
cairo_surface_map_to_image (cairo_surface_t *surface,
@@ -653,6 +657,8 @@ cairo_surface_map_to_image (cairo_surface_t *surface,
*
* Using an image surface which wasn't returned by cairo_surface_map_to_image()
* results in undefined behavior.
+ *
+ * Since: 1.12
**/
void
cairo_surface_unmap_image (cairo_surface_t *surface,
More information about the cairo-commit
mailing list