aboutsummaryrefslogtreecommitdiff
path: root/src/libmemdraw/draw-stub.c
blob: 08e46a1c10dee60bc1f6bb68dcbf392e8f889b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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);
}