code: drawterm

ref: 3c2bf42f227c3316fe7f7b55d2bf19a5dcc7e7a9
dir: /gui-osx/draw.c/

View raw version
#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)
{
	_memimagedraw(_memimagedrawsetup(dst, r, src, sp, mask, mp, op));
}

ulong
pixelbits(Memimage *m, Point p)
{
	return _pixelbits(m, p);
}

void
memimageinit(void)
{
	_memimageinit();
}