.net
*Subject:* Re: [OpenJDK 2D-Dev] Pixel-perfect drawing on JPanel
This is a known problem of sorts. It is called the Raster Problem.
JDK 9 and later support windows hi-dpi mode so you now have a scaled
JPanel.
Something like 1.33 scale, the exact value depending on your windows
DPI setting.
The l
others
could read it too.
Best regards
Michał Błaszak
Section Manager, Research & Development
From: Phil Race
Sent: wtorek, 8 stycznia 2019 20:48
To: Michał Błaszak ; 2d-dev@openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] Pixel-perfect drawing on JPanel
This is a known problem of s
This is a known problem of sorts. It is called the Raster Problem.
JDK 9 and later support windows hi-dpi mode so you now have a scaled JPanel.
Something like 1.33 scale, the exact value depending on your windows DPI
setting.
The lines are all drawn independently, and the "y" is mapped to the
Hi, Michał.
You can create a bug report here:
https://bugreport.java.com/bugreport
Please additionally to the test provide the system
information, and information about screen(resolutions and default scale factor).
On 20/12/2018 03:11, Michał Błaszak wrote:
Hi All,
I hope this is a known
Hi All,
I hope this is a known problem but just in case it's not.
Trying to make an app drawing something on JPanel I noticed some annoying
inaccuracies.
The attached piece of code is supposed to draw a series of lines one below the
other (swapping colors are to demonstrate what's happening).