RFR: 8279614: The left line of the TitledBorder is not painted on 150 scale factor [v7]

Alexey Ivanov aivanov at openjdk.java.net
Mon Mar 28 20:46:50 UTC 2022


On Wed, 23 Mar 2022 18:24:05 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> Changed the drawing area to be increased by 0.5 on the left side to prevent clipping
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   scale stroke width at higher scalings

What if we don't reset the scale to 1.0 and use a thicker stroke to draw rectangles/lines but set the graphics scale to `floor(getCurrentScale())` instead?

Dealing with the coordinates could be trickier though.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7449



More information about the client-libs-dev mailing list