From a05e7d2583fcb6e49cab4d06c9401fc6925c302e Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 15 Dec 2016 12:41:39 +0100 Subject: [PATCH] doc: Fix the units used by cairo_surface_create_similar_image Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99094 --- src/cairo-surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 6d3ac192b1a7..f56e0f81c09a 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 -- 2.7.4