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.

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

Commit messages:
 - Change order of translate
 - Minimal fix
 - Remove unwanted changes
 - Implement setFillPattern
 - Implement setPattern
 - Create WCPattern
 - Add patternTransform in ImagePattern

Changes: https://git.openjdk.java.net/jfx/pull/190/files
 Webrev: https://webrevs.openjdk.java.net/jfx/190/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8242861
  Stats: 50 lines in 3 files changed: 32 ins; 11 del; 7 mod
  Patch: https://git.openjdk.java.net/jfx/pull/190.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/190/head:pull/190

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

Reply via email to