mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-31 13:40:14 +01:00
Fix typo in documentation (missing stride argument)
This commit is contained in:
parent
e01072d4ea
commit
4ff59960f3
1 changed files with 2 additions and 1 deletions
|
|
@ -392,7 +392,8 @@ _cairo_image_surface_create_with_content (cairo_content_t content,
|
|||
* stride = cairo_format_stride_for_width (format, width);
|
||||
* data = malloc (stride * height);
|
||||
* surface = cairo_image_surface_create_for_data (data, format,
|
||||
* width, height);
|
||||
* width, height,
|
||||
* stride);
|
||||
* </programlisting></informalexample>
|
||||
*
|
||||
* Return value: the appropriate stride to use given the desired
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue