summaryrefslogtreecommitdiff
path: root/src/cairo-recording-surface.c
diff options
context:
space:
mode:
authorNis Martensen <nis.martensen@web.de>2012-03-04 13:49:17 +0100
committerUli Schlachter <psychon@znc.in>2012-03-10 10:20:29 +0100
commitf22ecd3568ec8e0f0be2549e688f12d79f6053e0 (patch)
treed6d8f5734df21090346b92f374a650c4d2a88ab1 /src/cairo-recording-surface.c
parent2184bd6672ccc3dbd29799ae3d8890d36f64a3ab (diff)
downloadcairo-f22ecd3568ec8e0f0be2549e688f12d79f6053e0.tar.gz
doc: describe cairo_recording_surface_get_extents
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-recording-surface.c')
-rw-r--r--src/cairo-recording-surface.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c
index 3eaf25d24..ebe6f50fe 100644
--- a/src/cairo-recording-surface.c
+++ b/src/cairo-recording-surface.c
@@ -1724,6 +1724,18 @@ _cairo_recording_surface_get_ink_bbox (cairo_recording_surface_t *surface,
return _recording_surface_get_ink_bbox (surface, bbox, transform);
}
+/**
+ * cairo_recording_surface_get_extents:
+ * @surface: a #cairo_recording_surface_t
+ * @extents: the #cairo_rectangle_t to be assigned the extents
+ *
+ * Get the extents of the recording-surface.
+ *
+ * Return value: %TRUE if the surface is bounded, of recording type, and
+ * not in an error state, otherwise %FALSE
+ *
+ * Since: 1.12
+ **/
cairo_bool_t
cairo_recording_surface_get_extents (cairo_surface_t *surface,
cairo_rectangle_t *extents)