aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/MacWindow.m
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-05 04:42:56 +0100
committerSven Gothel <[email protected]>2023-03-05 04:42:56 +0100
commitd87f510194ad2eead2a42b41a3cbe1077f65a695 (patch)
tree80ab2b5bcfd55674e6310ed2ba5b96cf53d71daf /src/newt/native/MacWindow.m
parent8d4e039dfd490d3f2290523ea75c9f51460bae41 (diff)
NEWT Screen: Allow injection of global (single) monitor size in [mm] via newt.ws.mmwidth and newt.ws.mmheight property
This is essential on bare-metal devices where the screen DRM/GBM driver does not provide the screen-size (in mm). Otherwise we would have resolution/(size_mm=0) infinity density and none of our graph font demos would work, as we compute pixel-em-size based using dpi and pixel-pt-size.
Diffstat (limited to 'src/newt/native/MacWindow.m')
0 files changed, 0 insertions, 0 deletions