mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 01:48:07 +02:00
Merge branch 'fix-recording-to-png' into 'master'
recording-surface: Fix offset error See merge request cairo/cairo!118
This commit is contained in:
commit
b29d0f3d58
1 changed files with 1 additions and 0 deletions
|
|
@ -609,6 +609,7 @@ _cairo_recording_surface_acquire_source_image (void *abstract_surface,
|
|||
image = _cairo_image_surface_create_with_content (surface->base.content,
|
||||
surface->extents.width,
|
||||
surface->extents.height);
|
||||
cairo_surface_set_device_offset (image, -surface->extents.x, -surface->extents.y);
|
||||
if (unlikely (image->status))
|
||||
return image->status;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue