aboutsummaryrefslogtreecommitdiff
path: root/d2tk
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-18 19:26:26 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-18 19:26:26 +0200
commit6a388b93c2e1da1d724177f8ce9e8cf49524267a (patch)
tree58ed0537a3e5500ba9116abe9d7629ca2babb27e /d2tk
parent5841ebb4dcf412ab2ca6fc6b84020dfbe0abb484 (diff)
downloadd2tk-6a388b93c2e1da1d724177f8ce9e8cf49524267a.tar.xz
core: prototype bitmap primitive.
Diffstat (limited to 'd2tk')
-rw-r--r--d2tk/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/d2tk/core.h b/d2tk/core.h
index 29348b9..dcf1ed7 100644
--- a/d2tk/core.h
+++ b/d2tk/core.h
@@ -173,6 +173,10 @@ d2tk_core_image(d2tk_core_t *core, const d2tk_rect_t *rect, size_t sz,
const char *path, d2tk_align_t align);
D2TK_API void
+d2tk_core_bitmap(d2tk_core_t *core, const d2tk_rect_t *rect, uint32_t w,
+ uint32_t h, const uint32_t *rgba, d2tk_align_t align);
+
+D2TK_API void
d2tk_core_stroke_width(d2tk_core_t *core, d2tk_coord_t width);
D2TK_API void