NetSurf
|
Go to the source code of this file.
Enumerations | |
enum | image_type { IMAGE_PLOT_TINCT_ALPHA , IMAGE_PLOT_TINCT_OPAQUE , IMAGE_PLOT_OS } |
Functions | |
bool | image_redraw (osspriteop_area *area, int x, int y, int req_width, int req_height, int width, int height, colour background_colour, bool repeatx, bool repeaty, bool background, image_type type) |
Plot an image at the given coordinates using the method specified. More... | |
enum image_type |
bool image_redraw | ( | osspriteop_area * | area, |
int | x, | ||
int | y, | ||
int | req_width, | ||
int | req_height, | ||
int | width, | ||
int | height, | ||
colour | background_colour, | ||
bool | repeatx, | ||
bool | repeaty, | ||
bool | background, | ||
image_type | type | ||
) |
Plot an image at the given coordinates using the method specified.
area | The sprite area containing the sprite |
x | Left edge of sprite |
y | Top edge of sprite |
req_width | The requested width of the sprite |
req_height | The requested height of the sprite |
width | The actual width of the sprite |
height | The actual height of the sprite |
background_colour | The background colour to blend to |
repeatx | Repeat the image in the x direction |
repeaty | Repeat the image in the y direction |
background | Use background image settings (otherwise foreground) |
type | The plot method to use |
Definition at line 209 of file image.c.
References alpha_SPRITE_MODE, height, image__override_sprite_mode(), IMAGE_PLOT_OS, IMAGE_PLOT_TINCT_ALPHA, IMAGE_PLOT_TINCT_OPAQUE, image_redraw_os(), image_redraw_tinct(), nsoption_int, os_alpha_sprite_supported, ro_gui_wimp_read_eig_factors(), tinct_options, tinct_SPRITE_MODE, tinct_USE_OS_SPRITE_OP, type, and width.
Referenced by ro_plot_bitmap().