From 089cfb555873877c1054b1b3589c34f459add857 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 6 Jan 2023 18:00:40 +0100 Subject: [PATCH] Fix docs for cairo_surface_[sg]et_device_scale Fixes: https://gitlab.freedesktop.org/cairo/cairo/-/issues/616 Signed-off-by: Uli Schlachter --- 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 399958d02..fd661221b 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -1782,7 +1782,7 @@ slim_hidden_def (cairo_surface_mark_dirty_rectangle); * by the CTM when drawing to @surface. One common use for this is to * render to very high resolution display devices at a scale factor, so * that code that assumes 1 pixel will be a certain size will still work. - * Setting a transformation via cairo_translate() isn't + * Setting a transformation via cairo_scale() isn't * sufficient to do this, since functions like * cairo_device_to_user() will expose the hidden scale. * @@ -1834,7 +1834,7 @@ slim_hidden_def (cairo_surface_set_device_scale); * @x_scale: the scale in the X direction, in device units * @y_scale: the scale in the Y direction, in device units * - * This function returns the previous device offset set by + * This function returns the previous device scale set by * cairo_surface_set_device_scale(). * * Since: 1.14