From c1439ae4e7e24ffadd8e01f15b7344506e42615f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Feb 2009 14:06:51 +0000 Subject: Comment content_redraw. svn path=/trunk/netsurf/; revision=6355 --- content/content.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/content/content.c b/content/content.c index 935f3657f..72ed2f292 100644 --- a/content/content.c +++ b/content/content.c @@ -995,6 +995,25 @@ void content_quit(void) * Display content on screen. * * Calls the redraw function for the content, if it exists. + * + * \param c content + * \param x coordinate for top-left of redraw + * \param y coordinate for top-left of redraw + * \param width available width (not used for HTML redraw) + * \param height available height (not used for HTML redraw) + * \param clip_x0 clip rectangle left + * \param clip_y0 clip rectangle top + * \param clip_x1 clip rectangle right + * \param clip_y1 clip rectangle bottom + * \param scale scale for redraw + * \param background_colour the background colour + * \return true if successful, false otherwise + * + * x, y and clip_* are coordinates from the top left of the canvas area. + * + * The top left corner of the clip rectangle is (clip_x0, clip_y0) and + * the bottom right corner of the clip rectangle is (clip_x1, clip_y1). + * Units for x, y and clip_* are pixels. */ bool content_redraw(struct content *c, int x, int y, -- cgit v1.2.3