Expand description
Where something new goes when nothing said exactly where.
Each step is separate on purpose: a pointer position is honoured exactly, so only the steps a caller asks for are taken. What size a new thing is, and what counts as occupied, belong to the document — these take both as arguments.
Functions§
- beside
- The frame of a new item that a band was just dropped at, sized
widthbyheightand placed soatlands on the edge facingsource. - centred
- The frame an item of
widthbyheightoccupies centred oncentre, snapped to the grid. - pushed_
clear - Pushes
frameout pastsourcealong whichever axisframeis already further along, leavinggapbetween them. A frame already clear ofsourceis left alone — this is for something dropped so close to where it came from that it would land on top of it. - settled_
below - Jumps
framedown past whatever is covering it until it clears everything inoccupied, and reports where it came to rest.