OverloadedOrama
5b7d161ecf
Use enums instead of strings for tools
...
This could be a slight increase in performance
2020-05-31 16:04:33 +03:00
OverloadedOrama
4fc2888b68
Removed coord clamping from fill_gaps()
...
This should make line making behave as expected when the mouse is outside of canvas boundaries
2020-05-31 00:42:35 +03:00
OverloadedOrama
7a509a2047
Moved draw_brush() and fill_gaps() from Canvas.gd to DrawingAlgos.gd
...
draw_brush() is currently very ugly and probably needs inside refactoring
2020-05-30 00:46:58 +03:00
OverloadedOrama
00a0ab882a
Created DrawingAlgos.gd and moved a lot of drawing code there
...
Moved code from Global.gd and Canvas.gd to DrawingAlgos.gd. Will also move the fill_gaps and draw_brush methods of Canvas.gd next. Maybe even refactor the inside of them a bit to make them easier to read.
2020-05-29 03:16:44 +03:00