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
This commit is contained in:
Russ Cox 2012-11-25 21:41:52 -05:00
parent 7b9ef735a8
commit d0e0701913
4 changed files with 38 additions and 2 deletions

View file

@ -204,6 +204,7 @@ struct Display
int _isnewdisplay;
struct Mux *mux;
int srvfd;
int dpi;
};
struct Image