RFR: 8372761: Prevent degenerate transforms for zero-size Scene/SubScene [v2]

Ambarish Rapte arapte at openjdk.org
Mon Dec 8 05:06:14 UTC 2025


On Fri, 5 Dec 2025 14:16:55 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> `localToScreen` is not specified to account for something being "shown" on screen. Instead, it answers the question: given a point in the local coordinate system of a node, which point on the screen does it correspond to?

That seems right to me. I tested a few more random coordinates, the behavior same before and after this change. (as expected)

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

PR Comment: https://git.openjdk.org/jfx/pull/1992#issuecomment-3624812611


More information about the openjfx-dev mailing list