Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 20608175315e317e0b56a685cc738022ab9264c5
https://github.com/WebKit/WebKit/commit/20608175315e317e0b56a685cc738022ab9264c5
Author: lilly <[email protected]>
Date: 2026-07-15 (Wed, 15 Jul 2026)
Changed paths:
M Source/WebCore/platform/graphics/GeometryUtilities.cpp
M Source/WebCore/platform/graphics/GeometryUtilities.h
Log Message:
-----------
[GeometryUtilities] Add signedDistanceToLine() and linearInterpolation()
helpers
https://bugs.webkit.org/show_bug.cgi?id=319395
rdar://182224926
Reviewed by Simon Fraser.
Add two small geometry helpers to GeometryUtilities that will be used to help
support corner-shape
New tests unnecessary for these helpers
* Source/WebCore/platform/graphics/GeometryUtilities.cpp:
(WebCore::linearInterpolation):
(WebCore::signedDistanceToLine):
* Source/WebCore/platform/graphics/GeometryUtilities.h:
Canonical link: https://commits.webkit.org/317241@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications