From d0e0701913f3aede1fcb256f3d1e9c60c9af6edf Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 25 Nov 2012 21:41:52 -0500 Subject: devdraw, libdraw: add display->dpi Fixed at 100 right now, but the plan is to make it accurate and then use it. R=rsc http://codereview.appspot.com/6856091 --- include/draw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/draw.h b/include/draw.h index 07992c21..3e21ff18 100644 --- a/include/draw.h +++ b/include/draw.h @@ -204,6 +204,7 @@ struct Display int _isnewdisplay; struct Mux *mux; int srvfd; + int dpi; }; struct Image -- cgit v1.2.3