RFR: 8242861: Update ImagePattern to apply SVG pattern transforms [v6]

Arun Joseph ajoseph at openjdk.java.net
Mon Oct 12 03:11:19 UTC 2020


On Fri, 9 Oct 2020 21:48:40 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Arun Joseph has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Update copyright year
>>  - Minor refactoring
>
> modules/javafx.graphics/src/main/java/com/sun/prism/j2d/J2DPrismGraphics.java line 742:
> 
>> 740:                 }
>> 741:
>> 742:                 g2d.fill(tmpAT.createTransformedShape(shape));
> 
> Maybe move the `fill` call inside the try/catch so it won't draw anything if the transform is non-invertible? That
> matches what `drawMappedTextureRaw` does.

Moved `g2d.fill` into try/catch block.

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

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


More information about the openjfx-dev mailing list