aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/nowsys-draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdraw/nowsys-draw.c')
-rw-r--r--src/libdraw/nowsys-draw.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libdraw/nowsys-draw.c b/src/libdraw/nowsys-draw.c
new file mode 100644
index 00000000..5eac24f0
--- /dev/null
+++ b/src/libdraw/nowsys-draw.c
@@ -0,0 +1,15 @@
+#include <u.h>
+#include <libc.h>
+#include <draw.h>
+#include <memdraw.h>
+
+void
+memimagedraw(Memimage *dst, Rectangle r, Memimage *src, Point sp,
+ Memimage *mask, Point mp, int op)
+{
+ Memdrawparam *par;
+
+ if((par = _memimagedrawsetup(dst, r, src, sp, mask, mp, op)) == nil)
+ return;
+ _memimagedraw(par);
+}