summaryrefslogtreecommitdiff
path: root/src/cairo-surface.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2023-01-06 18:00:40 +0100
committerUli Schlachter <psychon@znc.in>2023-01-06 18:00:40 +0100
commit089cfb555873877c1054b1b3589c34f459add857 (patch)
tree758d476b3299f4b1bd7b9d1433ce40a4c85c83f6 /src/cairo-surface.c
parent387d2f07394061882ec0319b114a789e48ec5380 (diff)
downloadcairo-089cfb555873877c1054b1b3589c34f459add857.tar.gz
Fix docs for cairo_surface_[sg]et_device_scale
Fixes: https://gitlab.freedesktop.org/cairo/cairo/-/issues/616 Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-surface.c')
-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 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