As noted in https://github.com/openjdk/jfx/pull/2326 by @lukostyra and 
@andy-goryachev-oracle, the same floating point  error might be in other 
locations as well.

I found the very same problem in `ArcTo`.
In the ticket, I wrote a reproducer that tests different values.

`x = 3, y = 19` is not rendering.
| Before | After |
| - | - |
| <img width="1642" height="830" alt="image" 
src="https://github.com/user-attachments/assets/23738318-5d3b-486c-93dd-48ffda6e4abd";
 /> | <img width="1642" height="830" alt="image" 
src="https://github.com/user-attachments/assets/533c4ba1-c5a5-4267-b6f5-05eb1be793c5";
 /> |

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8393157: Valid ArcTo may not render due to floating point error

Changes: https://git.openjdk.org/jfx/pull/2332/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2332&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8393157
  Stats: 17 lines in 2 files changed: 14 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jfx/pull/2332.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2332/head:pull/2332

PR: https://git.openjdk.org/jfx/pull/2332

Reply via email to