mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-30 19:50:28 +01:00
recording: Fix cairo_recording_surface_create() doc comments
The name of the parameters in the docs should match the name of the function parameters. Added also return value docs.
This commit is contained in:
parent
737880260f
commit
d8f88cf3f9
1 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue