mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
[project @ 2006-01-25 00:20:21 by rjw]
Rescue jmb from O2 svn path=/import/netsurf/; revision=2035
This commit is contained in:
parent
443818ff07
commit
7354ee1008
@ -317,10 +317,8 @@ bool ro_plot_disc(int x, int y, int radius, colour colour)
|
||||
bool ro_plot_bitmap(int x, int y, int width, int height,
|
||||
struct bitmap *bitmap, colour bg)
|
||||
{
|
||||
char *buffer;
|
||||
|
||||
buffer = bitmap_get_buffer(bitmap);
|
||||
return image_redraw(buffer,
|
||||
bitmap_get_buffer(bitmap);
|
||||
return image_redraw(bitmap->sprite_area,
|
||||
ro_plot_origin_x + x * 2,
|
||||
ro_plot_origin_y - y * 2,
|
||||
width, height,
|
||||
@ -337,11 +335,9 @@ bool ro_plot_bitmap_tile(int x, int y, int width, int height,
|
||||
struct bitmap *bitmap, colour bg,
|
||||
bool repeat_x, bool repeat_y)
|
||||
{
|
||||
char *buffer;
|
||||
|
||||
buffer = bitmap_get_buffer(bitmap);
|
||||
return image_redraw(buffer,
|
||||
ro_plot_origin_x + x * 2,
|
||||
bitmap_get_buffer(bitmap);
|
||||
return image_redraw(bitmap->sprite_area,
|
||||
ro_plot_origin_x + x * 2,
|
||||
ro_plot_origin_y - y * 2,
|
||||
width, height,
|
||||
bitmap->width,
|
||||
|
Loading…
Reference in New Issue
Block a user