We Have a Corner Problem

The movement constraints of all 8 drag handles of a crop rectangle can be implemented by reusing the implementation of one corner. The complexity of a crop rectangle Oh man. Have you ever tried implementing a draggable crop rectangle from scratch? To give it all the flexibility you'd expect from a mature crop rectangle implementation there are many constraints to solve: Drag the rectangle itself…