Searched refs:nDisplayID (Results 1 – 1 of 1) sorted by relevance
378 const CGDirectDisplayID nDisplayID = (CGDirectDisplayID)[pVal longValue]; in initResolution() local379 … const CGSize aSize = CGDisplayScreenSize( nDisplayID ); // => result is in millimeters in initResolution()380 … mnRealDPIX = static_cast<long>((CGDisplayPixelsWide( nDisplayID ) * 25.4) / aSize.width); in initResolution()381 … mnRealDPIY = static_cast<long>((CGDisplayPixelsHigh( nDisplayID ) * 25.4) / aSize.height); in initResolution()
Completed in 13 milliseconds