From f5014d0a30d0974b4a92882d42fc01abbbc014ac Mon Sep 17 00:00:00 2001 From: Josias Eli Rodriguez <339499413+chamber074@users.noreply.github.com> Date: Fri, 6 Nov 2026 07:23:20 -0600 Subject: [PATCH] docs(compose): the glow knee lands on a table entry for both techniques --- crates/compose/src/effects/paint.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/compose/src/effects/paint.rs b/crates/compose/src/effects/paint.rs index 510b556509..6078715a7b 100644 --- a/crates/compose/src/effects/paint.rs +++ b/crates/compose/src/effects/paint.rs @@ -48,9 +48,9 @@ pub fn glow_lut(g: &Glow) -> Option> { /// (`glow_reach_edge`, 0 at and beyond the reach, 1 from a pixel inside it), and the transfer is /// `min(contour(u), max(edge, u))`, with `u = min(v / range, 1)` what a Linear contour paints. /// The edge is linear in `v` from 0 until it reaches 1 (`glow_edge_per_coverage`), so the -/// table's linear interpolation follows it, its first step from entry 0 included (Softer's knee -/// also lands on a table entry; Precise's falls between two, which chord it); the coverage -/// where it reaches 1 is per technique: +/// table's linear interpolation follows it, its first step from entry 0 included (the knee is +/// rounded down to a table entry for both techniques); the coverage where it reaches 1 is per +/// technique: /// /// - Precise: the falloff is linear in distance, so the edge is the distance left to the reach's /// end: the last pixel steps down by how far inside the reach its centre is (one soft pixel,