RFR: 8242861: Update ImagePattern to apply SVG pattern transforms
Kevin Rushforth
kcr at openjdk.java.net
Mon Apr 27 23:58:45 UTC 2020
On Mon, 20 Apr 2020 05:40:51 GMT, Arun Joseph <ajoseph at openjdk.org> wrote:
> fillPath() and fillRect() functions in
> [GraphicsContextJava.cpp](https://github.com/openjdk/jfx/blob/master/modules/javafx.web/src/main/native/Source/WebCore/platform/graphics/java/GraphicsContextJava.cpp)
> use Image::drawPattern() for applying patterns as fill. But drawPattern() doesn't use patternTransform argument as
> ImagePattern doesn't have the same attribute. So, the final image won't be transformed.
Since this is in a common method used by all shapes, and not just WebView, we will need to ensure no regressions.
-------------
PR: https://git.openjdk.java.net/jfx/pull/190
More information about the openjfx-dev
mailing list