I'm busy developing a cool new drawing tool for Inkscape (one that I've been dying to implement since using Inkscape ), the core is pretty much finished, but I'm running into a bug which can be resolved by implementing a feature of the tool that I have no clue on how to achieve .
My tool creates a GrayMap when the mouse button is pressed, updates it as the mouse is moved then processes and destroys it when the mouse button is released. I need to be able to show the GrayMap, any other kind of bitmap will do, on the canvas and then hide it when not used.
How can I do this? I've been looking around and I can't find any examples in the existing code that does something like it.
I'd really appreciate any help guys.
Thank you.
Temporary Bitmap Display Help in New Tool
Re: Temporary Bitmap Display Help in New Tool
You'll be more likely to get an answer to this question if you ask on the developers mailing list - http://www.inkscape.org/mailing_lists.php?lang=en
Re: Temporary Bitmap Display Help in New Tool
Thanks microUgly, I'll do that too