On Thu, 23 Jul 2020 09:43:36 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.
>
> Bhawesh Choudhary has updated the pull request with a new target base due to 
> a merge or a rebase. The pull request now
> contains four commits:
>  - Merge branch 'master' into 8181775
>  - Removed wildcard import statement
>  - Formatting (File Mode Attribute change)
>  - 8181775: JavaFX WebView does not calculate border-radius properly

The fix and test looks good.

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

Marked as reviewed by ajoseph (Committer).

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

Reply via email to