Skip to content

Commit

Permalink
recording: Fix cairo_recording_surface_create() doc comments
Browse files Browse the repository at this point in the history
The name of the parameters in the docs should match the name of the
function parameters. Added also return value docs.
  • Loading branch information
Carlos Garcia Campos committed Sep 9, 2010
1 parent 7378802 commit d8f88cf
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/cairo-recording-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ static const cairo_surface_backend_t cairo_recording_surface_backend;
/**
* cairo_recording_surface_create:
* @content: the content of the recording surface
* @extents_pixels: the extents to record in pixels, can be %NULL to record
* unbounded operations.
* @extents: the extents to record in pixels, can be %NULL to record
* unbounded operations.
*
* Creates a recording-surface which can be used to record all drawing operations
* at the highest level (that is, the level of paint, mask, stroke, fill
Expand All @@ -114,7 +114,11 @@ static const cairo_surface_backend_t cairo_recording_surface_backend;
* necessary objects (paths, patterns, etc.), in order to achieve
* accurate replay.
*
* Since 1.10
* Return value: a pointer to the newly created surface. The caller
* owns the surface and should call cairo_surface_destroy() when done
* with it.
*
* Since: 1.10
**/
cairo_surface_t *
cairo_recording_surface_create (cairo_content_t content,
Expand Down

0 comments on commit d8f88cf

Please sign in to comment.