Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_posix/sys/src/libdraw/fmt.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include <draw.h>
4
 
5
int
6
Rfmt(Fmt *f)
7
{
8
	Rectangle r;
9
 
10
	r = va_arg(f->args, Rectangle);
11
	return fmtprint(f, "%P %P", r.min, r.max);
12
}
13
 
14
int
15
Pfmt(Fmt *f)
16
{
17
	Point p;
18
 
19
	p = va_arg(f->args, Point);
20
	return fmtprint(f, "[%d %d]", p.x, p.y);
21
}
22