diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-12-30 00:58:35 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-12-30 00:58:35 +0000 |
commit | df18a971435c35963bb8ea94efc0d5326ad66ff0 (patch) | |
tree | 0f0ccea83c6f4cd82d7195478d7bd35f7ae89e31 /image/image.h | |
parent | 4dd695c156879ad845a33ad8ef9748b0f54a4f1a (diff) | |
download | netsurf-df18a971435c35963bb8ea94efc0d5326ad66ff0.tar.gz netsurf-df18a971435c35963bb8ea94efc0d5326ad66ff0.tar.bz2 |
Change GTK plotting to use cairo surfaces throughout
svn path=/trunk/netsurf/; revision=13354
Diffstat (limited to 'image/image.h')
-rw-r--r-- | image/image.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 |