plan9port/src/libdraw/x11-pixelbits.c

17 lines
247 B
C
Raw Normal View History

2003-09-30 17:47:42 +00:00
#include <u.h>
2004-03-26 01:59:35 +00:00
#include "x11-inc.h"
2003-09-30 17:47:42 +00:00
#include <libc.h>
#include <draw.h>
#include <memdraw.h>
#include "x11-memdraw.h"
u32int
pixelbits(Memimage *m, Point p)
{
if(m->X)
_xgetxdata(m, Rect(p.x, p.y, p.x+1, p.y+1));
2003-09-30 17:47:42 +00:00
return _pixelbits(m, p);
}