aboutsummaryrefslogtreecommitdiff
path: root/src/libmemdraw/draw-stub.c
blob: be411011f536aa4922d07653b7502c4217610b73 (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
#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);
}