[jfx15] Integrated: 8220484: JFXPanel renders a slanted image with a hidpi monitor scale of 125% or 175%

Oliver Schmidtmer github.com+10960818+Schmidor at openjdk.java.net
Wed Jul 22 14:40:38 UTC 2020


On Wed, 3 Jun 2020 15:46:36 GMT, Oliver Schmidtmer <github.com+10960818+Schmidor at openjdk.org> wrote:

> In edge cases where monitor scaling of 1.25 or 1.75 is active, Math.ceil and Math.round produce different results and
> EmbeddedScene#getPixels in JFXPanel#paintComponent causes an off-by-one error on the line width and therefore sheared
> rendering.  The changes were already proposed by the submitter in JBS-8220484.
> 
> OCA is signed and send.

This pull request has now been integrated.

Changeset: 3cc29e38
Author:    Oliver Schmidtmer <O.Schmidtmer at elo.com>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/3cc29e38
Stats:     351 lines in 7 files changed: 0 ins; 341 del; 10 mod

8220484: JFXPanel renders a slanted image with a hidpi monitor scale of 125% or 175%

Reviewed-by: kcr, psadhukhan

-------------

PR: https://git.openjdk.java.net/jfx/pull/246


More information about the openjfx-dev mailing list