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-06-13 18:35:08 -0700
commit2d47ccbc012d46818e42b193acd81f0a53911f5c (patch)
tree5a4ffb646f6a5af881607fa8e78363b53f747225
parent80a0c20de2c2286cc37506a39667378a4ddfea86 (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 4c534e921..fa0ca37db 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -549,8 +549,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