I was working with *responsive images* in Webkit and I came across this
*‘deviceScaleFactor’* attribute with determines the pixel density on the
target device.
I was unable to find out how does Webkit determine it, that is which
functions does it use and where can I find them in the Source Code? All I
was able to find was that it used a function *‘page->deviceScaleFactor()’*
which somehow returned the scale factor but I was unable to find the exact
function which actually computes the scale factor.

Any help here would be highly appreciated!!



--
View this message in context: 
http://mac-os-forge.2317878.n4.nabble.com/Determining-the-device-pixel-density-of-target-device-tp245535.html
Sent from the Webkit mailing list archive at Nabble.com.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to