Rectangles currently use different rounding methods in the Win32DPIUtils methods operating on them and in the Rectangle.OfFloat implementation itself. This is streamlined and corrected with: - https://github.com/eclipse-platform/eclipse.platform.swt/pull/2720