diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-02-13 17:06:40 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-02-13 17:06:40 +0000 |
commit | 62bc7706d992686e8021209645dbc487caf3beac (patch) | |
tree | 8615f9a65334534589f6916268719d4492f01c12 /desktop/browser.h | |
parent | 2d69afeec67613a79d47b4e6370b066fdbc5d45a (diff) | |
download | netsurf-62bc7706d992686e8021209645dbc487caf3beac.tar.gz netsurf-62bc7706d992686e8021209645dbc487caf3beac.tar.bz2 |
Update browser_window_redraw comment.
svn path=/trunk/netsurf/; revision=11668
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index af1cecb50..42b9f19ed 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -263,11 +263,14 @@ bool browser_window_stop_available(struct browser_window *bw); * \param clip clip rectangle coordinates * \return true if successful, false otherwise * - * x, y and clip_* are coordinates from the top left of the canvas area. + * The clip rectangle is guaranteed to be filled to its extents, so there is + * no need to render a solid background first. * - * 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. + * x, y and clip are coordinates from the top left of the canvas area. + * + * The top left corner of the clip rectangle is (x0, y0) and + * the bottom right corner of the clip rectangle is (x1, y1). + * Units for x, y and clip are pixels. */ bool browser_window_redraw(struct browser_window *bw, int x, int y, struct rect clip); |