mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
16 lines
247 B
C
16 lines
247 B
C
#include <u.h>
|
|
#include "x11-inc.h"
|
|
#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));
|
|
return _pixelbits(m, p);
|
|
}
|
|
|
|
|