|
Re: Display.getCurrent().getDPI() always equals 96? [message #436256 is a reply to message #436252] |
Thu, 13 May 2004 20:58 |
Eclipse User |
|
|
|
Originally posted by: friederich.kupzog.de
Hello Jody,
Display is a Device. Other devices, like Printer, will return other
values. Maybe on a Mac Display.getDPI will return 72. Never tested this.
I do not see any way how SWT could find out your display's resolution :)
That would mean that your monitor would provide information about it's
height and width via the VGA cable....
Hope that helped
Friederich
Jody Schofield wrote:
> I'm trying to get the resolution (dots per inch) of my display and I've been
> using the above call. It doesn't seem to depend on my screen resolution.
> Does this make sense? What should I be using?
>
> I ddn't find anything in bugzilla.
>
>
> thanks,
> Jody
>
>
--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel 0241 160696-1
Fax 0221 726670
www.kupzog.de/fkmk
|
|
|
|
Powered by
FUDForum. Page generated in 0.30748 seconds