Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Eraser tool #95

Open
Maralai opened this issue May 17, 2020 · 4 comments
Open

Add Eraser tool #95

Maralai opened this issue May 17, 2020 · 4 comments

Comments

@Maralai
Copy link

Maralai commented May 17, 2020

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.

@DamirPorobic
Copy link
Member

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.

@Maralai
Copy link
Author

Maralai commented May 18, 2020

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.

@DamirPorobic DamirPorobic changed the title Eraser Support Add Eraser tool May 18, 2020
@DamirPorobic DamirPorobic transferred this issue from ksnip/ksnip May 18, 2020
@DamirPorobic
Copy link
Member

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

@Maralai
Copy link
Author

Maralai commented May 28, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants