Integrated: 8242861: Update ImagePattern to apply SVG pattern transforms

Arun Joseph ajoseph at openjdk.java.net
Fri Nov 6 10:02:56 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.

This pull request has now been integrated.

Changeset: dd22cd2d
Author:    Arun Joseph <ajoseph at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/dd22cd2d
Stats:     104 lines in 6 files changed: 83 ins; 11 del; 10 mod

8242861: Update ImagePattern to apply SVG pattern transforms

Reviewed-by: kcr, arapte

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

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


More information about the openjfx-dev mailing list