thorvg icon indicating copy to clipboard operation
thorvg copied to clipboard

Feature request: Remove Paint from Canvas

Open projectitis opened this issue 3 years ago • 4 comments

Feature request:

It is possible to update a specific Paint object on the canvas using canvas->update(paint);. I would also like to be able to remove a Paint object from the canvas. For example canvas->remove(paint);.

It would be great if this was possible!

projectitis avatar Mar 07 '22 02:03 projectitis

If you think this issue should be included, I don't mind working on it?

projectitis avatar Mar 07 '22 04:03 projectitis

@projectitis You mean you'd like to contribute it?

hermet avatar Mar 07 '22 05:03 hermet

Yes.

I have just completed it. Am testing that it works correctly, and will then create PR and you can determine if you'd like it included or not (or other changes).

projectitis avatar Mar 07 '22 06:03 projectitis

@projectitis thanks for your contribution :) currently I'm working for tvg 0.8 release, new features can be considered after it. I will review it after the release.

hermet avatar Mar 08 '22 02:03 hermet