summaryrefslogtreecommitdiff
path: root/include/libnsfb_plot.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-10-28 23:01:28 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-10-28 23:01:28 +0000
commit5c62d4740b6691ad0cd05863da47ec92e5f0cd7f (patch)
tree2aa83ac3c2b73c587302b23d2db0b01298968984 /include/libnsfb_plot.h
parent35df6a39826009e8dd7ec9d2724afcdca5789e10 (diff)
downloadlibnsfb-5c62d4740b6691ad0cd05863da47ec92e5f0cd7f.tar.gz
libnsfb-5c62d4740b6691ad0cd05863da47ec92e5f0cd7f.tar.bz2
Add tiled bitmap plotting function.
Diffstat (limited to 'include/libnsfb_plot.h')
-rw-r--r--include/libnsfb_plot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libnsfb_plot.h b/include/libnsfb_plot.h
index b3f86d1..a563e2c 100644
--- a/include/libnsfb_plot.h
+++ b/include/libnsfb_plot.h
@@ -154,6 +154,10 @@ bool nsfb_plot_copy(nsfb_t *srcfb, nsfb_bbox_t *srcbox, nsfb_t *dstfb, nsfb_bbox
*/
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);
+/** Plot bitmap.
+ */
+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);
+
/** Plot an 8 bit glyph.
*/
bool nsfb_plot_glyph8(nsfb_t *nsfb, nsfb_bbox_t *loc, const uint8_t *pixel, int pitch, nsfb_colour_t c);