diff options
Diffstat (limited to 'image/jpeg.c')
-rw-r--r-- | image/jpeg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/image/jpeg.c b/image/jpeg.c index 6e5e446dd..f247243ea 100644 --- a/image/jpeg.c +++ b/image/jpeg.c @@ -244,8 +244,7 @@ void nsjpeg_term_source(j_decompress_ptr cinfo) */ bool nsjpeg_redraw(struct content *c, int x, int y, - int width, int height, - int clip_x0, int clip_y0, int clip_x1, int clip_y1, + int width, int height, struct rect *clip, float scale, colour background_colour) { return plot.bitmap(x, y, width, height, @@ -258,8 +257,7 @@ bool nsjpeg_redraw(struct content *c, int x, int y, */ bool nsjpeg_redraw_tiled(struct content *c, int x, int y, - int width, int height, - int clip_x0, int clip_y0, int clip_x1, int clip_y1, + int width, int height, struct rect *clip, float scale, colour background_colour, bool repeat_x, bool repeat_y) { |