> This bug can be reproduced when the screen resolution is at 125%, 150% and > 175% for Windows, which correpsonds to > `pixelScale` values of 1.25, 1.5 and 1.75, respectively. > Issue: The rectangle inside canvas is rendered on `pixelScale` while the > borders are rendered on `Math.ceil(pixelScale)` > > Fix: Use `Math.ceil(pixelScale)` for calculating `pixelScaleTransform`
Arun Joseph has updated the pull request incrementally with one additional commit since the last revision: Updated test ------------- Changes: - all: https://git.openjdk.java.net/jfx/pull/62/files - new: https://git.openjdk.java.net/jfx/pull/62/files/ea422a78..eadff865 Webrevs: - full: https://webrevs.openjdk.java.net/jfx/62/webrev.02 - incr: https://webrevs.openjdk.java.net/jfx/62/webrev.01-02 Stats: 13 lines in 1 file changed: 8 ins; 5 del; 0 mod Patch: https://git.openjdk.java.net/jfx/pull/62.diff Fetch: git fetch https://git.openjdk.java.net/jfx pull/62/head:pull/62 PR: https://git.openjdk.java.net/jfx/pull/62