diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-09-04 16:41:28 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-09-04 16:41:28 +0000 |
commit | 101c87958dfeb769c697136d221a2a1c63929e65 (patch) | |
tree | 99108a4a5c4b182ca9d385a9fa0330a9a6e3ea03 /riscos/png.h | |
parent | e223757e3504586f8c260991b81f8f62c3b75ffc (diff) | |
download | netsurf-101c87958dfeb769c697136d221a2a1c63929e65.tar.gz netsurf-101c87958dfeb769c697136d221a2a1c63929e65.tar.bz2 |
[project @ 2004-09-04 16:41:28 by jmb]
Fix jpeg redraw
Move png.c/h to /image and rework to use the bitmap code
Make RISC OS bitmap struct publically accessible (via riscos/bitmap.h)
Draw export now embeds JPEGs and PNGs/MNGs/JNGs correctly again.
Background images are now plotted correctly again.
svn path=/import/netsurf/; revision=1268
Diffstat (limited to 'riscos/png.h')
-rw-r--r-- | riscos/png.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/riscos/png.h b/riscos/png.h deleted file mode 100644 index b9cc784c0..000000000 --- a/riscos/png.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * This file is part of NetSurf, http://netsurf.sourceforge.net/ - * Licensed under the GNU General Public License, - * http://www.opensource.org/licenses/gpl-license - * Copyright 2003 James Bursa <bursa@users.sourceforge.net> - */ - -#ifndef _NETSURF_RISCOS_PNG_H_ -#define _NETSURF_RISCOS_PNG_H_ - -#include "libpng/png.h" -#include "oslib/osspriteop.h" - -struct content; - -struct content_png_data { - png_structp png; - png_infop info; - unsigned long rowbytes; - int interlace; - osspriteop_area *sprite_area; - char *sprite_image; -}; - -bool nspng_create(struct content *c, const char *params[]); -bool nspng_process_data(struct content *c, char *data, unsigned int size); -bool nspng_convert(struct content *c, int width, int height); -void nspng_destroy(struct content *c); -bool nspng_redraw(struct content *c, int x, int y, - int width, int height, - int clip_x0, int clip_y0, int clip_x1, int clip_y1, - float scale, unsigned long background_colour); -#endif |