computeArrowHeadCorners()
function computeArrowHeadCorners(
start,
end,
headSize
): [Point, Point];Defined in: packages/core/src/render/arrow-geometry.ts:14
Computes the two back corners of an arrowhead triangle pointing from
start to end, both already in pixel space. Shared between the SVG
DOM renderer and @pitchkit/react's JSX emission — the angle is derived
from the pixel-space endpoints (not provider coordinates) so it points
correctly regardless of any axis flip/swap the pixel transform applied
(orientation, yDirection), consistent with arcSweepFlag's approach.