
9 Jul
2013
9 Jul
'13
2:22 p.m.
I've been looking at the align-and-distribute code and want to clear it up for use with my new functionality.
My idea is to move the core function into selection like this:
Selection::align(Geom::OptRect bbox, AlignSide align, bool as_group);
That way align-and-distribute can specify the bbox from all it's options and other functions can align selections. It should reduce repetition and allow my code to call more directly into the effective code without navigating the ui specific code.
I'd like your thoughts before I spend some time on this refactor.
It might also be worth moving distribute too, I have some great UI ideas for how to do distribute with knot handles too.
Best Regards, Martin Owens