-
Bug
-
Resolution: Unresolved
-
P4
-
9, 10
-
None
After JDK-8073320 HiDPI painting is supported by Java2D.
To draw in arbitrary scaled images the floating point coordinates are used now but they are digitized to find real drawn bounds in pixels. To round the coordinates to the particular pixel index the Math.ceil() method is used which may inflate or shift the painted area in pixels and cause various edge artifacts.
SeeJDK-8187367 for example.
To draw in arbitrary scaled images the floating point coordinates are used now but they are digitized to find real drawn bounds in pixels. To round the coordinates to the particular pixel index the Math.ceil() method is used which may inflate or shift the painted area in pixels and cause various edge artifacts.
See
- relates to
-
JDK-8282958 Rendering Issues with Borders on Windows High-DPI systems
- Resolved
-
JDK-8187367 Numerous swing display problems with scaled displays on Windows
- Resolved