I want to load several Layers in an ImageEnView - and arrange and position the layers via Mouse - with Hitdetection between Layers and most importend with magnetic snap to each of the layers. (Moving one layer and within snapdistance the Layer "snaps" to the postioned Layer nearby).
Even though I did a quick grep through the source with "snap" and "magnetic" - the searchresults doesnt seem to do what I need. Am I correct that something like that doesn't exist in the ImageEn Libary?
Found IEView.Layers[i].LayerRect.IntersectsWith() -> for Hitdetection
and to clarify: I dont want to align / snap the layers on a Grid, I want to snap / align the layers on each other; some layer may be positioned and snap on that positioned layer...
Ok - was hoping there was already something I could (re)use. But anyway - was a bit more work than thought but I was able to add the necessary events in OnLayerMoveSize and LayerNotifyEx to create something matching my expectatations.