#.scrdpi() command

Post Reply
User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

#.scrdpi() command

Post 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.
The only thing that gets me down is gravity...

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: #.scrdpi() command

Post 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.
The only thing that gets me down is gravity...

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: #.scrdpi() command

Post 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.

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: #.scrdpi() command

Post by rbytes »

Ok. I will put in a delay and test again.
The only thing that gets me down is gravity...

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: #.scrdpi() command

Post by Mr. Kibernetik »

I will fix this problem with delay in next version.

Post Reply