Hi.

I want to determine how much pixels in 10 mm.

I use the next calculations:

static const qreal fingerSize = 0.0393700787 * 10;

static const qreal h = (qreal) QApplication::desktop()->physicalDpiY() * 
fingerSize; 

And this calculations return to me 28 that on my desktop is 5 mm only.

0.0393700787 is how  much inches in millimeter...

What am I doing wrong?


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to