diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-28 23:01:28 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-28 23:01:28 +0000 |
commit | 5c62d4740b6691ad0cd05863da47ec92e5f0cd7f (patch) | |
tree | 2aa83ac3c2b73c587302b23d2db0b01298968984 /src/plot/api.c | |
parent | 35df6a39826009e8dd7ec9d2724afcdca5789e10 (diff) | |
download | libnsfb-5c62d4740b6691ad0cd05863da47ec92e5f0cd7f.tar.gz libnsfb-5c62d4740b6691ad0cd05863da47ec92e5f0cd7f.tar.bz2 |
Add tiled bitmap plotting function.
Diffstat (limited to 'src/plot/api.c')
-rw-r--r-- | src/plot/api.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plot/api.c b/src/plot/api.c index 2b5b974..ba6afc8 100644 --- a/src/plot/api.c +++ b/src/plot/api.c @@ -165,7 +165,12 @@ nsfb_plot_copy(nsfb_t *srcfb, 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) { - return nsfb->plotter_fns->bitmap(nsfb, loc, pixel, bmp_width, bmp_height, bmp_stride, alpha); + return nsfb->plotter_fns->bitmap(nsfb, loc, pixel, bmp_width, bmp_height, bmp_stride, alpha); +} + +bool nsfb_plot_bitmap_tiles(nsfb_t *nsfb, const nsfb_bbox_t *loc, int tiles_x, int tiles_y, const nsfb_colour_t *pixel, int bmp_width, int bmp_height, int bmp_stride, bool alpha) +{ + return nsfb->plotter_fns->bitmap_tiles(nsfb, loc, tiles_x, tiles_y, pixel, bmp_width, bmp_height, bmp_stride, alpha); } /** Plot an 8 bit glyph. |