summaryrefslogtreecommitdiff
path: root/src/plot.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-12-04 11:12:07 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-12-04 11:12:07 +0000
commit0f3db39f79300a8354812050cf15e3e060e71442 (patch)
treef93bb8c724130c95108b392cb2bffda956ec3849 /src/plot.c
parent936196d9965a1c75c015f915169dadd8ea64f35e (diff)
downloadlibnsfb-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plot.c b/src/plot.c
index b79267a..55437cf 100644
--- a/src/plot.c
+++ b/src/plot.c
@@ -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)