summaryrefslogtreecommitdiff
path: root/src/cairo-surface.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-05-24 17:24:52 -0700
committerCarl Worth <cworth@cworth.org>2006-05-24 17:24:52 -0700
commit22232be7592dadc22fef614aefee9c9398a8510c (patch)
tree455c2a72dfcec6e05d6025443742f563bd75a1eb /src/cairo-surface.c
parentd0dd3b822e98358e88f8c9261ef633331548ccfd (diff)
Note the changed semantics of cairo_surface_set_device_offset
Specifically, device offsets now affect using the offset surface in a source pattern as well as drawing to the surface. This behavior os also verified with a new test case: test/device-offset.c
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 a4ec2de8e..c6f8f9ca6 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -610,8 +610,8 @@ cairo_surface_mark_dirty_rectangle (cairo_surface_t *surface,
* sufficient to do this, since functions like
* cairo_device_to_user() will expose the hidden offset.
*
- * Note that the offset only affects drawing to the surface, not using
- * the surface in a surface pattern.
+ * Note that the offset affects drawing to the surface as well as
+ * using the surface in a source pattern.
**/
void
cairo_surface_set_device_offset (cairo_surface_t *surface,