[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 8264999: GeneralPath.lineTo() to itself produces jagged lines
From:       Jeremy <duke () openjdk ! java ! net>
Date:       2022-05-30 1:24:22
Message-ID: Pty8uqtc1vZuTNsR308sPC0M8TF9OV-b5W6FjNvx7Pw=.39800352-bec8-4c8f-8539-b70f70ed07b2 () github ! com
[Download RAW message or body]

On Mon, 30 May 2022 01:15:01 GMT, Jeremy <duke@openjdk.java.net> 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.

@bourgesl as the (or one of the?) resident Marlin experts: what do you think of this \
approach and the accompanying unit test?

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic