Default compose for axis-aligned rectangles. Adds translation; preserves
child width/height. Treat as the canonical compose for any
{x, y, width, height} pose under a translation-only hierarchy.
Generic over the concrete pose type so callers with a wider pose
(e.g. RectPose & { rotation }) can pass it through; the extra fields
are taken from the child unchanged.
Default
composefor axis-aligned rectangles. Adds translation; preserves child width/height. Treat as the canonical compose for any{x, y, width, height}pose under a translation-only hierarchy.Generic over the concrete pose type so callers with a wider pose (e.g.
RectPose & { rotation }) can pass it through; the extra fields are taken from the child unchanged.