diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2009-12-04 11:12:07 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2009-12-04 11:12:07 +0000 |
commit | 0f3db39f79300a8354812050cf15e3e060e71442 (patch) | |
tree | f93bb8c724130c95108b392cb2bffda956ec3849 /src/plot.c | |
parent | 936196d9965a1c75c015f915169dadd8ea64f35e (diff) | |
download | libnsfb-0f3db39f79300a8354812050cf15e3e060e71442.tar.gz libnsfb-0f3db39f79300a8354812050cf15e3e060e71442.tar.bz2 |
Improve cursor handling
Improve screen copy handling and API
svn path=/trunk/libnsfb/; revision=9714
Diffstat (limited to 'src/plot.c')
-rw-r--r-- | src/plot.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,9 +110,9 @@ bool nsfb_plot_ellipse_fill(nsfb_t *nsfb, nsfb_bbox_t *ellipse, nsfb_colour_t c) return nsfb->plotter_fns->ellipse_fill(nsfb, ellipse, c); } -bool nsfb_plot_copy(nsfb_t *nsfb, int srcx, int srcy, int width, int height, int dstx, int dsty) +bool nsfb_plot_copy(nsfb_t *nsfb, nsfb_bbox_t *srcbox, nsfb_bbox_t *dstbox) { - return nsfb->plotter_fns->copy(nsfb, srcx, srcy, width, height, dstx, dsty); + return nsfb->plotter_fns->copy(nsfb, srcbox, dstbox); } bool nsfb_plot_bitmap(nsfb_t *nsfb, const nsfb_bbox_t *loc, const nsfb_colour_t *pixel, int bmp_width, int bmp_height, int bmp_stride, bool alpha) |