The single ordered corner→anchor table. Order is load-bearing: every
consumer iterates it in this sequence (TL, TR, BL, BR) so positional
meaning (the i-th handle / kind / tag) stays consistent across the
resize-handle affordance, the affordance-hit classifier, and
cornerResizeHandles. Each corner's anchor names the diagonally
opposite corner, so dragging the corner scales the box from that fixed
point.
The single ordered corner→anchor table. Order is load-bearing: every consumer iterates it in this sequence (TL, TR, BL, BR) so positional meaning (the i-th handle /
kind/tag) stays consistent across the resize-handle affordance, the affordance-hit classifier, andcornerResizeHandles. Each corner'sanchornames the diagonally opposite corner, so dragging the corner scales the box from that fixed point.