diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2009-04-24 13:42:40 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2009-04-24 13:42:40 +0000 |
commit | 3d5b21e1473dbdee6c3df66d9ba2a9d657f1b486 (patch) | |
tree | f88a339bd1510e9cf5cf1a2a33e345dd8014d513 /src/plot.c | |
parent | 2b303df06ea14e99e41b118b299bb0bcf58aafd5 (diff) | |
download | libnsfb-3d5b21e1473dbdee6c3df66d9ba2a9d657f1b486.tar.gz libnsfb-3d5b21e1473dbdee6c3df66d9ba2a9d657f1b486.tar.bz2 |
add legacy plotter API
svn path=/trunk/libnsfb/; revision=7304
Diffstat (limited to 'src/plot.c')
-rw-r--r-- | src/plot.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -15,7 +15,14 @@ */ bool nsfb_plot_set_clip(nsfb_t *nsfb, nsfb_bbox_t *clip) { - return nsfb->plotter_fns->clip(nsfb, clip); + return nsfb->plotter_fns->set_clip(nsfb, clip); +} + +/** Get the previously set clipping region. + */ +bool nsfb_plot_get_clip(nsfb_t *nsfb, nsfb_bbox_t *clip) +{ + return nsfb->plotter_fns->get_clip(nsfb, clip); } /** Clears plotting area to a flat colour. |