From 5c62d4740b6691ad0cd05863da47ec92e5f0cd7f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 28 Oct 2013 23:01:28 +0000 Subject: Add tiled bitmap plotting function. --- src/plot/api.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plot/api.c') 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. -- cgit v1.2.3