Page 1 of 1

#.scrdpi() command

Posted: Tue Sep 19, 2017 4:56 am
by rbytes
My laptop dpi is 96 with a screen diagonal of ~ 15". My tablet dpi is 144 with a screen diagonal of ~ 10". I think their pixel count is pretty similar, so the count looks about right.

I will do a test soon and see how accurate the rulers are when adjusted by dpi.

Re: #.scrdpi() command

Posted: Sat Sep 23, 2017 2:38 am
by rbytes
I tried using the ratio between DPI on my tablet and on my laptop to adjust the size of the WinMeasure rulers. The results were inaccurate, so I had to stick with a ratio found by trial and error.

Next I will try a ratio based on relative screen sizes and see how that works.

Re: #.scrdpi() command

Posted: Sat Sep 23, 2017 3:26 am
by Mr. Kibernetik
The only thing I can tell for now is that currently you need some time (maybe 0.01 sec) between removing right menu and checking screen size.
I will come to your dpi tests as soon as I finish correcting file writing functions.

Re: #.scrdpi() command

Posted: Sat Sep 23, 2017 4:19 am
by rbytes
Ok. I will put in a delay and test again.

Re: #.scrdpi() command

Posted: Sat Sep 23, 2017 4:21 am
by Mr. Kibernetik
I will fix this problem with delay in next version.