RFR: 8349188: LineBorder does not scale correctly [v3]

Alexey Ivanov aivanov at openjdk.org
Mon Jun 30 12:25:44 UTC 2025


On Sun, 29 Jun 2025 06:58:38 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> probably these discussions may help
>> https://mail.openjdk.org/pipermail/2d-dev/2016-July/007152.html
>> https://mail.openjdk.org/pipermail/2d-dev/2016-October/007764.html
>
> And this https://mail.openjdk.org/pipermail/2d-dev/2016-October/007772.html (it has a looong discissuin thread)

> I am pretty sure these methods produce different results for negative coordinates.

Likely…

Yet when a border is painted, there can't be negative coordinates.

> probably these discussions may help https://mail.openjdk.org/pipermail/2d-dev/2016-July/007152.html https://mail.openjdk.org/pipermail/2d-dev/2016-October/007764.html
> 
> And this https://mail.openjdk.org/pipermail/2d-dev/2016-October/007772.html (it has a looong discissuin thread)

I'll look through these discussions, thanks. (These discussions happened in three years after `clipScale` and `clipRound` had been added.) The last discussion thread could be the best source for clarity. It would be a helpful to understand.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26025#discussion_r2174949328


More information about the client-libs-dev mailing list