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

Alisen Chung achung at openjdk.java.net
Mon May 2 19:53:46 UTC 2022


On Mon, 28 Mar 2022 20:43:47 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> 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.

@aivanov-jdk @mrserb I've updated the test to use EtchedBorder, please take a look

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

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



More information about the client-libs-dev mailing list