summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@freedesktop.org>2016-12-15 12:41:39 +0100
committerBryce Harrington <bryce@osg.samsung.com>2017-03-15 20:26:18 -0700
commit1192f97388ba428a623670107a96fc13cbf97ee9 (patch)
treec2fb3d177bc0de42bb3a41889bb1f8eda77e9e8c
parent10e4103a508f81a3e47938e97c0b84f1ba41071c (diff)
doc: Fix the units used by cairo_surface_create_similar_image
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99094 Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
-rw-r--r--src/cairo-surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 6d3ac192b..f56e0f81c 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -551,8 +551,8 @@ cairo_surface_create_similar (cairo_surface_t *other,
* cairo_surface_create_similar_image:
* @other: an existing surface used to select the preference of the new surface
* @format: the format for the new surface
- * @width: width of the new surface, (in device-space units)
- * @height: height of the new surface (in device-space units)
+ * @width: width of the new surface, (in pixels)
+ * @height: height of the new surface (in pixels)
*
* Create a new image surface that is as compatible as possible for uploading
* to and the use in conjunction with an existing surface. However, this surface