Re: RFR: 8358820: Allow interpolation outside of range [0,1] [v3]

2025-07-27 Thread Michael Strauß
> JavaFX unnecessarily restricts interpolation in the following ways: > 1. `Interpolatable` implementations often clamp intermediate values to the > interpolation factor range [0,1]. > 2. `SplineInterpolator` doesn't accept Y coordinates outside of [0,1] for its > control points. While this was p

Re: RFR: 8358820: Allow interpolation outside of range [0,1] [v2]

2025-06-26 Thread Joe Darcy
On Sun, 15 Jun 2025 22:02:44 GMT, Michael Strauß wrote: >> modules/javafx.graphics/src/main/java/com/sun/javafx/scene/layout/region/BorderImageSlices.java >> line 62: >> >>> 60: Objects.requireNonNull(endValue, "endValue cannot be null"); >>> 61: >>> 62: if (t == 0 || equals(en

Re: RFR: 8358820: Allow interpolation outside of range [0,1] [v2]

2025-06-15 Thread Michael Strauß
On Sun, 15 Jun 2025 05:22:13 GMT, Nir Lisker wrote: >> Michael Strauß has updated the pull request incrementally with one >> additional commit since the last revision: >> >> javadoc > > modules/javafx.graphics/src/main/java/javafx/animation/Interpolatable.java > line 44: > >> 42: *

Re: RFR: 8358820: Allow interpolation outside of range [0,1] [v2]

2025-06-15 Thread Michael Strauß
> JavaFX unnecessarily restricts interpolation in the following ways: > 1. `Interpolatable` implementations often clamp intermediate values to the > interpolation factor range [0,1]. > 2. `SplineInterpolator` doesn't accept Y coordinates outside of [0,1] for its > control points. While this was p

Re: RFR: 8358820: Allow interpolation outside of range [0,1]

2025-06-15 Thread Michael Strauß
On Sun, 15 Jun 2025 05:34:17 GMT, Nir Lisker wrote: >> JavaFX unnecessarily restricts interpolation in the following ways: >> 1. `Interpolatable` implementations often clamp intermediate values to the >> interpolation factor range [0,1]. >> 2. `SplineInterpolator` doesn't accept Y coordinates ou

Re: RFR: 8358820: Allow interpolation outside of range [0,1]

2025-06-14 Thread Nir Lisker
On Fri, 6 Jun 2025 23:23:05 GMT, Michael Strauß wrote: > JavaFX unnecessarily restricts interpolation in the following ways: > 1. `Interpolatable` implementations often clamp intermediate values to the > interpolation factor range [0,1]. > 2. `SplineInterpolator` doesn't accept Y coordinates out

Re: RFR: 8358820: Allow interpolation outside of range [0,1]

2025-06-13 Thread Michael Strauß
On Sat, 7 Jun 2025 18:45:06 GMT, Nir Lisker wrote: > Noting that this proposed change supersedes the previous changes that were > done for for https://bugs.openjdk.org/browse/JDK-8226911. The proposed > behavioral change makes sense. Can I interest you in a review of the API and/or the impleme

Re: RFR: 8358820: Allow interpolation outside of range [0,1]

2025-06-07 Thread Nir Lisker
On Fri, 6 Jun 2025 23:23:05 GMT, Michael Strauß wrote: > JavaFX unnecessarily restricts interpolation in the following ways: > 1. `Interpolatable` implementations often clamp intermediate values to the > interpolation factor range [0,1]. > 2. `SplineInterpolator` doesn't accept Y coordinates out