aboutsummaryrefslogtreecommitdiffstats
path: root/jnlp-files/jogl-applet-runner-newt.jnlp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-01-16 01:37:21 +0100
committerSven Gothel <[email protected]>2020-01-16 01:37:21 +0100
commit78609202731252f0024e6330cc94c52b05c1d146 (patch)
treea83bec90b7b1fe634ad57e064cdbdea39b6e4c00 /jnlp-files/jogl-applet-runner-newt.jnlp
parenta0a2278721a1b0a8c5acc78d4d42b7cd7efeb47d (diff)
Bug 1422: Use own deviceZoomScaleUp(..) disregarding higher-toolkit's compensation like 'DPIUtil.useCairoAutoScale()'
We can't use DPIUtil's 'autoScaleUp(..)' method on non-native DPI scaling platforms as it uses a scale-factor of 1f if the higher toolkit compensates, i.e. 'DPIUtil.useCairoAutoScale()'. Since NEWT uses X11 and GDI directly, which are not DPI scale-aware, we have to drop the semnatics of 'DPIUtil.useCairoAutoScale()' and merely use the actual 'deviceZoom'. This was proposed by Marcel Au in the first place. At least I understand these semantics by now. +++ Additionally NewtCanvasSWT.SWTNativeWindow needs to return the 'deviceZoomScaleUp(..)' values for returning its size in window- and pixel-units (surface).
Diffstat (limited to 'jnlp-files/jogl-applet-runner-newt.jnlp')
0 files changed, 0 insertions, 0 deletions