blob: 08e46a1c10dee60bc1f6bb68dcbf392e8f889b43 [file] [log] [blame]
#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);
}
void
memfillcolor(Memimage *m, u32int val)
{
_memfillcolor(m, val);
}
u32int
pixelbits(Memimage *m, Point p)
{
return _pixelbits(m, p);
}