kImageAnnotator icon indicating copy to clipboard operation
kImageAnnotator copied to clipboard

Add Eraser tool

Open Maralai opened this issue 5 years ago • 4 comments

Please consider adding support for erasing penned lines.

[ ] Erase by pixels with size adjustability. [ ] Erase by strokes [ ] Support erasing with a stylus button as well.

Maralai avatar May 17 '20 23:05 Maralai

What do you mean with penned lines? In general deleting or erasing individual pixel is not going to be supported, the only thing that we can delete are object, like deleting an arrow, line, sticker, .... The reason for that is that we don't work on individual pixels like Paint in MS Windows but we rather work on vector objects, like Inkscape. Such a feature would require changing the way the Annotation work and would take away the ability to move object around and change the Z Value.

DamirPorobic avatar May 18 '20 06:05 DamirPorobic

You can not split or trim the vector objects?

Please consider erasing the strokes with a tool. This tool should use the same function as drawing with the pen but any strokes that intersect it's path should be erased. Consider then allowing for any pointer (xinput) with eraser in it's name to automatically toggle the tool.

Maralai avatar May 18 '20 20:05 Maralai

Can you elaborate on your last sentence? I'm not sure what you expect there.

DamirPorobic avatar May 28 '20 10:05 DamirPorobic

There is a way to distinguish between the cursor from a stylus tip and when the error tool is being used using the name of the device shown in xinput on Linux for example. I am suggesting that an event be raised when input whose name contains"Eraser" toggles the tool automatically for the cursor move events registered on the screen while that type of cursor is the one registering those events.

Maralai avatar May 28 '20 11:05 Maralai