Screen edge’s movement is limited from the adjacent screen areas, when resizing an area. It would be nice to move the other edges too, if blocking movement.
To move the green edge left:
Create an array with structs from the red edges,
And find the snapping point for each edge.
(Some more nested loops may required for that initial part.
It gets quite complicated for yellow edge.)
Check/move only vertices in the structs.
Refresh areas if need.(how hard can it be to refresh a couple more areas?)
- Snap on every edge.
- Snap on the first edge only.
- Move without snapping.
- Move a percentage to the left all the lines from the start.
I have written some part of it, and know how to complete, but I have no incentive to continue.
Also I have a separate prototype moving both horizontal and vertical edges from corner.
Is this something you 'd like to add in the code?