Skip to content

Fixes for Retina DPI calculation (text display size)

David Gobbi requested to merge dgobbi/vtk:cocoa-dpi into master

The backingScaleFactor always seems to return a value of "2.0" on a Retina display, even for a standard-resolution context. The Apple docs specifically recommend against using backingScaleFactor. So instead we use the convertRectToBacking method, which provides the correct results.

Edited by David Gobbi

Merge request reports