8 May
2008
8 May
'08
11:04 p.m.
I'm busy developing a cool new drawing tool for Inkscape (one that I've
been dying to implement since using Inkscape :D ), 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.