Emmanouil Papadeas
8ba2b62921
Mirror the previews of the shape tools
...
Now they are consistent with the selection tools
2024-07-31 22:23:50 +03:00
Emmanouil Papadeas
9c7effdba3
Optimize previews of the ellipse selection and the shape tools
...
Before this commit, when these tools were being used on large areas, the software would start being very slow due to the polyline drawing. Now it simply draws an image.
TODO:
- Optimize the lasso, pixel and polygon select tools
- Mirror the previews of ellipse selection and shape tools, for consistency with the lasso, pixel and polygon select tools
- Perhaps somehow remove Previews.gd since its work is even more limited now.
2024-07-31 18:05:22 +03:00
Emmanouil Papadeas
cd269c9a4e
Slightly optimize line and curve tool drawing
2024-07-31 14:28:30 +03:00
Emmanouil Papadeas
b146c88a5e
Fix shape tools indicator being reset after drawing
2024-06-27 01:25:17 +03:00
Emmanouil Papadeas
b7a77a2ceb
Clear polygon select tool when switching projects
2024-06-01 16:03:39 +03:00
Emmanouil Papadeas
2afb087b7a
When switching projects and the curve tool is active, clear it
...
Instead of applying it. This also fixes a crash when the curve tool is active and the current project closes
2024-06-01 12:59:22 +03:00
Emmanouil Papadeas
b9c289e742
[Curve tool] Don't draw a circle when hovering over the first point, if there is only one point in the curve
2024-05-26 14:27:02 +03:00
Emmanouil Papadeas
b25ae8b4cc
Fix curve being immediately applied if the user presses and releases immediately
2024-05-25 00:42:34 +03:00
Emmanouil Papadeas
0a38345376
[Curve tool] Only control the out control point when holding Shift
...
Needed to make curves with sharp edges. Inspired by Krita's Bezier curve tool
2024-05-21 19:37:47 +03:00
Emmanouil Papadeas
3f8799f25a
When hovering above the first position when using the curve tool, apply the curve shape
2024-05-21 02:59:37 +03:00
Emmanouil Papadeas
318b381938
Add a fill shape checkbox in the curve tool options
...
Now the curve tool can also be used as a polygon tool
2024-05-21 02:28:40 +03:00
Variable
601c25f2dd
Curve tool implementation ( #1019 )
...
* curve tool
* formatting
* formatting
* saving my progress
* update to kirita mode
* Formatting
* fixes for mirror mode
* added way to remove point, added tool shortcut
* Add translation strings
* Use Curve2D instead of a control_points array
---------
Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-05-20 03:46:40 +03:00