RFR: 8223298: SVG patterns are drawn wrong

Arun Joseph ajoseph at openjdk.java.net
Wed Apr 8 07:35:48 UTC 2020

Issue: Assuming the pixelScale is 2, the tile image size is doubled at the native side which is propagated to the java
side as well. But, as transform initialization takes place after scaling, the transform is reset to default value.

Fix: Override scale() method in WCBufferedContext class to call init() before scaling.


Commit messages:
 - 8223298: SVG patterns are drawn wrong

Changes: https://git.openjdk.java.net/jfx/pull/164/files
 Webrev: https://webrevs.openjdk.java.net/jfx/164/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8223298
  Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jfx/pull/164.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/164/head:pull/164

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

More information about the openjfx-dev mailing list