1 2 3 4 5 6 7 8 9 10 11 12 13 14 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); }