From df18a971435c35963bb8ea94efc0d5326ad66ff0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 30 Dec 2011 00:58:35 +0000 Subject: Change GTK plotting to use cairo surfaces throughout svn path=/trunk/netsurf/; revision=13354 --- image/image.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'image/image.h') diff --git a/image/image.h b/image/image.h index 7a698e54e..eb9482583 100644 --- a/image/image.h +++ b/image/image.h @@ -25,6 +25,19 @@ #include "utils/errors.h" +/** Initialise the content handlers for image types. + */ nserror image_init(void); +/** Common image content handler bitmap plot call. + * + * This plots the specified bitmap controlled by the redraw context + * and specific content redraw data. It is a helper specifically + * provided for image content handlers redraw callback. + */ +bool image_bitmap_plot(struct bitmap *bitmap, + struct content_redraw_data *data, + const struct rect *clip, + const struct redraw_context *ctx); + #endif -- cgit v1.2.3