eclipse-platform / eclipse.platform.swt

Eclipse SWT
https://www.eclipse.org/swt/
Eclipse Public License 2.0
101 stars 123 forks source link

Implementation of transform to enable Multi Zoom Level Support for Win32 #1276

Closed amartya4256 closed 1 week ago

amartya4256 commented 3 weeks ago

Addressed issues

Requires

Note: Only the last commit in this PR is to be reviewed. Previous commit(s) belong to the prerequisite PR(s)

Description

This pull request is based on the implementations of PR #1214. It extends to the native zoom which is provided within widget and propagated to GC. In this PR, we provide a map of different handles to Transform for different zoom levels as required by different monitors. The method win32_getHandle provides the appropriate handle for the scaled transform as per requested by the client. So far, Transform is only used by GC in the project, so all the calls from GC has been adapted to use the new method to obtasin the right handle.

github-actions[bot] commented 3 weeks ago

Test Results

   458 files  +8     458 suites  +8   6m 32s :stopwatch: -14s  4 129 tests +2   4 121 :white_check_mark: +2   8 :zzz: ±0  0 :x: ±0  16 321 runs  +2  16 229 :white_check_mark: +2  92 :zzz: ±0  0 :x: ±0 

Results for commit 778da200. ± Comparison against base commit f708ac39.

:recycle: This comment has been updated with latest results.