aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2012-11-25 21:41:52 -0500
committerRuss Cox <rsc@swtch.com>2012-11-25 21:41:52 -0500
commitd0e0701913f3aede1fcb256f3d1e9c60c9af6edf (patch)
tree89289d543069ef615e1a58343b8db1b93356fcc5 /include
parent7b9ef735a8d1fddf3887853abbd065271fa9c293 (diff)
downloadplan9port-d0e0701913f3aede1fcb256f3d1e9c60c9af6edf.tar.gz
plan9port-d0e0701913f3aede1fcb256f3d1e9c60c9af6edf.tar.bz2
plan9port-d0e0701913f3aede1fcb256f3d1e9c60c9af6edf.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/draw.h1
1 files changed, 1 insertions, 0 deletions
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