serge-rgb / milton

An infinite-canvas paint program
GNU General Public License v3.0
1.53k stars 133 forks source link

No Rectangle Select Tool #203

Open Nick-Sohacki opened 2 years ago

Nick-Sohacki commented 2 years ago

I want to be able to select a rectangular area so I can move it around. I can try changing the code if someone points me in the right direction.

MaciejWieczor commented 1 year ago

The best idea I have on adding somthing like this would be looking into this:

https://github.com/serge-rgb/milton/blob/768c0351fd7a221ec047fe91c85830f544a76661/src/milton.cc#L1601-L1617

That maybe could be used to get some rectangle. There is no cut out and drag and drop tool as far as I know right now though, so that would need to be added.