mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-28 04:06:54 -06:00
With a placed graphic selected (Direct Selection, or the content
grabber), InDesign shows the graphic's own brown bounding box with eight
handles: dragging one resizes the image inside its frame (Shift keeps its
proportions, Alt from its centre) and leaves the frame as it is. LYH
Studio episode 14 does this at 2:46 to make the photo cover the page.
- tools: a content-handle hit test on the selected graphic's bounds
(after the frame's anchors under Direct Selection), a ContentResize
drag previewing `transform.set {content, bounds}`, the handle cursors,
and the content ghost while dragging. The frame's handles don't resize
the frame while its graphic is selected.
- engine: `transform.set` takes `bounds` for content: the graphic's new
bounding box on the spread (normalized, never empty).
- canvas: the brown content box gets its handles; the frame's handles
are hidden while the graphic is selected.
Builds on #415 (content selection and moves) and #550 (transform.set
on content).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>