summaryrefslogtreecommitdiff
path: root/include/libnsfb_plot_util.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-06-02 13:01:45 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-06-02 13:01:45 +0000
commit30edb722902dff842b5b9544f9b43846b93adc92 (patch)
treeade17d9dc0ec2985a82a767134d2f22c354d181b /include/libnsfb_plot_util.h
parent3d5b21e1473dbdee6c3df66d9ba2a9d657f1b486 (diff)
downloadlibnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.gz
libnsfb-30edb722902dff842b5b9544f9b43846b93adc92.tar.bz2
add cursor support
svn path=/trunk/libnsfb/; revision=7687
Diffstat (limited to 'include/libnsfb_plot_util.h')
-rw-r--r--include/libnsfb_plot_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libnsfb_plot_util.h b/include/libnsfb_plot_util.h
index a1b0159..ee97b00 100644
--- a/include/libnsfb_plot_util.h
+++ b/include/libnsfb_plot_util.h
@@ -37,4 +37,12 @@ bool nsfb_plot_clip_line(const nsfb_bbox_t * restrict clip, nsfb_bbox_t * restri
bool nsfb_plot_clip_line_ctx(nsfb_t *nsfb, nsfb_bbox_t * restrict line);
+/** Obtain a bounding box which is the superset of two source boxes.
+ *
+ */
+bool nsfb_plot_add_rect(const nsfb_bbox_t *box1, const nsfb_bbox_t *box2, nsfb_bbox_t *result);
+
+/** Find if two boxes intersect. */
+bool nsfb_plot_bbox_intersect(const nsfb_bbox_t *box1, const nsfb_bbox_t *box2);
+
#endif /* _LIBNSFB_PLOT_UTIL_H */