NetSurf
image.h
Go to the documentation of this file.
1/*
2 * Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef _NETSURF_RISCOS_IMAGE_H_
20#define _NETSURF_RISCOS_IMAGE_H_
21
22#include <stdbool.h>
23#include "netsurf/types.h"
24#include "oslib/osspriteop.h"
25
26struct osspriteop_area;
27
28typedef enum {
33
34bool image_redraw(osspriteop_area *area, int x, int y, int req_width,
35 int req_height, int width, int height,
36 colour background_colour,
37 bool repeatx, bool repeaty, bool background, image_type type);
38
39#endif
const char * type
Definition: filetype.cpp:44
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.
Definition: image.c:209
image_type
Definition: image.h:28
@ IMAGE_PLOT_TINCT_OPAQUE
Definition: image.h:30
@ IMAGE_PLOT_OS
Definition: image.h:31
@ IMAGE_PLOT_TINCT_ALPHA
Definition: image.h:29
int width
Definition: gui.c:160
int height
Definition: gui.c:161
NetSurf types.
uint32_t colour
Colour type: XBGR.
Definition: types.h:35