Skip to content

Commit

Permalink
ps: fix raster source patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Johnson committed Oct 17, 2015
1 parent e294ca1 commit 6952e03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cairo-ps-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1794,6 +1794,7 @@ _cairo_ps_surface_acquire_source_surface_from_pattern (cairo_ps_surface_t
return CAIRO_INT_STATUS_UNSUPPORTED;
assert (_cairo_surface_is_image (surf));
image = (cairo_image_surface_t *) surf;
cairo_surface_get_device_offset (surf, x_offset, y_offset);
} break;

case CAIRO_PATTERN_TYPE_SOLID:
Expand Down
Binary file modified test/reference/raster-source.ps.ref.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6952e03

Please sign in to comment.