[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Correct Implementation for HiDPI
|
According to my understanding on macOS the zooming is handled
transparently - for the application it looks like it does not have to
perform any scaling itself, images are drawn scaled automatically by
macOS and all paint operations are scaled automatically, too, with an
unscaled coordinate-system. Is this right?
If using SWT as designed now, should SWT scale automatically, too, on
Windows and Linux. Or is the application able to (and has to) access the
full screen coordinates, thus painting each pixel even at 200% zoom?
--
Best regards,
Thomas Singer
=============
syntevo GmbH
https://www.syntevo.com
https://www.syntevo.com/blog
On 2018-05-03 16:50, Thomas Singer wrote:
Hi all,
For our application SmartGit (et al) we are using HiDPI support since it
first was supported in SWT by adding workarounds where necessary. In the
mean-time the SWT-API has changed significantly in this area and I only
adapted our SWT use to get it working. Though I have the feeling we are
not using it as designed according to the current API, especially on
Linux the HiDPI detection does not work reliable for us.
Is there a documentation how to implement image handling and paint
operations correctly on HiDPI screens (we are just supporting 100% and
200% zoom level)? Thanks in advance.
--
Best regards,
Thomas Singer
=============
syntevo GmbH
https://www.syntevo.com
https://www.syntevo.com/blog
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev