aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/unix/draw.h
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-09-09 02:30:51 +0200
committerStapleButter <thetotalworm@gmail.com>2017-09-09 02:30:51 +0200
commit70e4841d311d68689724768157cc9cbfbde7a9fc (patch)
treeba9499f77d1258530a7e60aa6e1732c41d98161c /src/libui_sdl/libui/unix/draw.h
parent81747d6c34eb159481a6ca3f283d065fa3568617 (diff)
another UI attempt, I guess.
sorry.
Diffstat (limited to 'src/libui_sdl/libui/unix/draw.h')
-rw-r--r--src/libui_sdl/libui/unix/draw.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/unix/draw.h b/src/libui_sdl/libui/unix/draw.h
new file mode 100644
index 0000000..dbd82ff
--- /dev/null
+++ b/src/libui_sdl/libui/unix/draw.h
@@ -0,0 +1,13 @@
+// 5 may 2016
+
+// draw.c
+struct uiDrawContext {
+ cairo_t *cr;
+};
+
+// drawpath.c
+extern void runPath(uiDrawPath *p, cairo_t *cr);
+extern uiDrawFillMode pathFillMode(uiDrawPath *path);
+
+// drawmatrix.c
+extern void m2c(uiDrawMatrix *m, cairo_matrix_t *c);