WIP: Eraser implementation #7

Draft
Franciman wants to merge 8 commits from eraserhead into master

8 Commits

Author SHA1 Message Date
Francesco Magliocca db8a0462a2 Start correct implementation of line-rect intersection test 2020-11-09 23:33:30 +01:00
Francesco Magliocca 2aaf3f7cc9 Implement Erasers and Fix VersionedCanvas
Implement stroke eraser, fix simple eraser and make VersionedCanvas check that something has actually changed in the canvas before updating the history
2020-11-09 22:42:03 +01:00
Francesco Magliocca d0f40530ff Document the update detection mechanism of VersionedCanvas::update 2020-11-09 21:07:37 +01:00
Francesco Magliocca 114ea2309e Make update interface slightly more usable 2020-11-09 21:06:05 +01:00
Francesco Magliocca 4b1dd4caed Add TODO messages and rename Canvas::push_back to Canvas::add_element 2020-11-09 18:54:11 +01:00
Francesco Magliocca bbd221e489 Polish code a bit 2020-11-09 18:33:14 +01:00
Francesco Magliocca 8bd487dc11 Use a RadioGroup to show which canvas tool is active 2020-11-09 17:18:00 +01:00
Francesco Magliocca be11d8e6ee Start dirty implementation of an eraser 2020-11-09 16:28:31 +01:00