summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-03-23 18:08:40 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-03-23 18:09:19 +0000
commit9cb7586fb05f72d4b10b33c9a8e8870ee4865af5 (patch)
tree78332d796f95165bd6908757c1c6cf3d6b4c11b1
parent8416b40f4357d0660ccb9f5b24b07b4d2f663fbc (diff)
cairo: Add some missing doc entries for cairo_raster_source_pattern_t
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/cairo-raster-source-pattern.c2
-rw-r--r--src/cairo.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/src/cairo-raster-source-pattern.c b/src/cairo-raster-source-pattern.c
index f096862a2..601fe60ff 100644
--- a/src/cairo-raster-source-pattern.c
+++ b/src/cairo-raster-source-pattern.c
@@ -218,6 +218,8 @@ cairo_raster_source_pattern_set_callback_data (cairo_pattern_t *abstract_pattern
*
* Queries the current user data.
*
+ * Return value: the current user-data passed to each callback
+ *
* Since: 1.12
**/
void *
diff --git a/src/cairo.h b/src/cairo.h
index d23cd10cf..37fdf0c46 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -2543,6 +2543,9 @@ typedef void
* is expected to provide the pixel data that was current at the time
* of snapshotting.
*
+ * Return value: CAIRO_STATUS_SUCCESS on success, or one of the
+ * #cairo_status_t error codes for failure.
+ *
* Since: 1.12
**/
typedef cairo_status_t
@@ -2551,12 +2554,16 @@ typedef cairo_status_t
/**
* cairo_raster_source_copy_func_t:
- * @pattern: the pattern being rendered from
+ * @pattern: the #cairo_pattern_t that was copied to
* @callback_data: the user data supplied during creation
+ * @other: the #cairo_pattern_t being used as the source for the copy
*
* #cairo_raster_source_copy_func_t is the type of function which is
* called when the pattern gets copied as a normal part of rendering.
*
+ * Return value: CAIRO_STATUS_SUCCESS on success, or one of the
+ * #cairo_status_t error codes for failure.
+ *
* Since: 1.12
**/
typedef cairo_status_t