Integrated: 8181775: JavaFX WebView does not calculate border-radius properly
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.
Author: Bhawesh Choudhary <bchoudhary at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
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
More information about the openjfx-dev