Other |
---|
tbdUnresolved |
Relates :
|
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. See JDK-8187367 for example.