On Thu, 14 May 2020 08:15:19 GMT, Bhawesh Choudhary <bchoudh...@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 <bchoudh...@openjdk.org>
Committer: Kevin Rushforth <k...@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

Reply via email to