Temporary Bitmap Display Help in New Tool

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
Wahooney
Posts: 13
Joined: Thu Dec 20, 2007 10:23 pm

Temporary Bitmap Display Help in New Tool

Postby Wahooney » Fri May 09, 2008 8:12 am

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.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Temporary Bitmap Display Help in New Tool

Postby microUgly » Fri May 09, 2008 8:21 am

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

Wahooney
Posts: 13
Joined: Thu Dec 20, 2007 10:23 pm

Re: Temporary Bitmap Display Help in New Tool

Postby Wahooney » Fri May 09, 2008 8:26 am

Thanks microUgly, I'll do that too :)


Return to “Discuss Software Issues”