[PATCH 17/25] doc: describe cairo_recording_surface_get_extents
Nis Martensen
nis.martensen at web.de
Sun Mar 4 04:49:17 PST 2012
---
src/cairo-recording-surface.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c
index 3eaf25d..ebe6f50 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)
--
1.7.2.5
--------------090104080009020304000505
Content-Type: text/plain;
name="0018-doc-ft-font-add-reference-to-cairo_ft_synthesize_t.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0018-doc-ft-font-add-reference-to-cairo_ft_synthesize_t.patc";
filename*1="h.txt"
More information about the cairo
mailing list