Integrated: 8181775: JavaFX WebView does not calculate border-radius properly
Bhawesh Choudhary
bchoudhary at openjdk.java.net
Mon Aug 10 12:23:34 UTC 2020
On Thu, 14 May 2020 08:15:19 GMT, Bhawesh Choudhary <bchoudhary at openjdk.org> wrote:
> root cause of issue is prism's fillRoundedRect() API doesn't allow rendering of rounded corner rectangle if four
> corners have different radii. but same can be achieved via Path. to fix the issue, in GraphicsContextJava.cpp while
> rendering fillRoundedRect, check if all four corners have same radii. if yes, use FILL_ROUNDED_RECT to draw it
> otherwise construct a path from given rounded rect and draw it.
This pull request has now been integrated.
Changeset: f216c5fe
Author: Bhawesh Choudhary <bchoudhary at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/f216c5fe
Stats: 104 lines in 2 files changed: 0 ins; 95 del; 9 mod
8181775: JavaFX WebView does not calculate border-radius properly
Reviewed-by: kcr, ajoseph
-------------
PR: https://git.openjdk.java.net/jfx/pull/218
More information about the openjfx-dev
mailing list