PoseProjection for Path poses — wires useResize to operate
on Path directly. getBounds defers to the same boundsOfPath kernel
the rest of the kit uses; remapBounds does an affine scale of every
coord against src/dst. Degenerate axes (zero src extent) collapse to
the new origin so resize from a flat edge doesn't produce NaN.
Mirrors scalePathToBounds but takes src explicitly: the resize hook
knows the group's origin AABB and uses it for every leaf, instead of
each leaf scaling against its own AABB (which would ignore group context).
PoseProjectionforPathposes — wiresuseResizeto operate onPathdirectly.getBoundsdefers to the sameboundsOfPathkernel the rest of the kit uses;remapBoundsdoes an affine scale of every coord againstsrc/dst. Degenerate axes (zero src extent) collapse to the new origin so resize from a flat edge doesn't produce NaN.Mirrors
scalePathToBoundsbut takessrcexplicitly: the resize hook knows the group's origin AABB and uses it for every leaf, instead of each leaf scaling against its own AABB (which would ignore group context).