Integrated: 8264999: GeneralPath.lineTo() to itself produces jagged lines

Jeremy duke at openjdk.org
Wed Jul 20 11:39:05 UTC 2022


On Mon, 30 May 2022 01:15:01 GMT, Jeremy <duke at openjdk.org> wrote:

> Previously when you drew a line that moved exactly (+0, +0) with a miter stroke the Stroker class acted like a horizontal miter was appropriate. Now we abort instead, so no miter is applied.
> 
> The new unit test tests the original steps plus several variations.
> 
> I'm a little nervous about this change because it looks like someone previously considered this exact condition and implemented a different behavior. I don't think I understand the original rationale.

This pull request has now been integrated.

Changeset: 4b4d3528
Author:    jeremy <jeremy.wood at mac.com>
Committer: Laurent Bourgès <lbourges at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4b4d35289ad7bfd2c5d9992b7c1fb8507d44a56d
Stats:     347 lines in 2 files changed: 347 ins; 0 del; 0 mod

8264999: GeneralPath.lineTo() to itself produces jagged lines

Reviewed-by: lbourges, prr

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

PR: https://git.openjdk.org/jdk/pull/8943



More information about the client-libs-dev mailing list