summaryrefslogtreecommitdiff
path: root/riscos/png.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-05-10 11:15:49 +0000
committerJames Bursa <james@netsurf-browser.org>2003-05-10 11:15:49 +0000
commit27d93c182c7202c8d2a4ff5c9e05a85c3444cca6 (patch)
treeed95b0bf286b44e4cd62021490a38a807ff7e4ef /riscos/png.h
parent0285c2984fc1913d583432716d6fff4f9f291994 (diff)
downloadnetsurf-27d93c182c7202c8d2a4ff5c9e05a85c3444cca6.tar.gz
netsurf-27d93c182c7202c8d2a4ff5c9e05a85c3444cca6.tar.bz2
[project @ 2003-05-10 11:13:34 by bursa]
Partial PNG support. svn path=/import/netsurf/; revision=129
Diffstat (limited to 'riscos/png.h')
-rw-r--r--riscos/png.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/riscos/png.h b/riscos/png.h
new file mode 100644
index 000000000..7f79a9a68
--- /dev/null
+++ b/riscos/png.h
@@ -0,0 +1,19 @@
+/**
+ * $Id: png.h,v 1.1 2003/05/10 11:15:49 bursa Exp $
+ */
+
+#ifndef _NETSURF_RISCOS_PNG_H_
+#define _NETSURF_RISCOS_PNG_H_
+
+#include "netsurf/content/content.h"
+
+void nspng_init(void);
+void nspng_create(struct content *c);
+void nspng_process_data(struct content *c, char *data, unsigned long size);
+int nspng_convert(struct content *c, unsigned int width, unsigned int height);
+void nspng_revive(struct content *c, unsigned int width, unsigned int height);
+void nspng_reformat(struct content *c, unsigned int width, unsigned int height);
+void nspng_destroy(struct content *c);
+void nspng_redraw(struct content *c, long x, long y,
+ unsigned long width, unsigned long height);
+#endif