An arrowed end moved at most half way along the line, even when the other
end had no arrowhead and stayed put, so on a straight line shorter than
twice the inset the stroke still stuck out of the head. The two ends of a
single straight segment now share its length in proportion to their
insets. Elbow and curved connectors keep the half-way limit.
A line's or connector's stroke ran all the way to each arrowhead's tip,
so a thick line's body and cap stuck out of the narrow end of the head.
Each arrowed end now stops where the head is as wide as the stroke, and a
square or round cap's reach further back. An end moves at most half way
to its neighbouring point, so elbow and curved connectors keep their
shape.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each page's piece of a paragraph walked every line of the paragraph in
place_objects to find the pictures and shapes to draw with it, skipping
all but its own lines and the late-float anchor lines. A paragraph over
many pages was quadratic in its lines. A later piece now walks only its
own lines and the late-float anchor lines, in the same order.
unequal_formats_lay_out_in_linear_time reads 8.0x for 8x the runs in a
debug build, down from 15.0x, so it no longer fails in the slower
SonarCloud coverage build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>