> 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`
The pull request has been updated with 1 additional commit. ------------- Added commits: - ea422a78: Added CanvasTest Changes: - all: https://git.openjdk.java.net/jfx/pull/62/files - new: https://git.openjdk.java.net/jfx/pull/62/files/fde17b8c..ea422a78 Webrevs: - full: https://webrevs.openjdk.java.net/jfx/62/webrev.01 - incr: https://webrevs.openjdk.java.net/jfx/62/webrev.00-01 Stats: 133 lines in 1 file changed: 133 ins; 0 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