HitTest and PNG


Author
Message
max max
max max
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 0, Visits: 1
i'm evaluating this software... very nice...
but i need something for me very important...

with multiple shape (one over other) all with imagefillstyle filled with png image, i need to make hittest over the bitmpap and choose the first who have the pixel color <> than transparent.color.

Please... help me if not this EXCEPTIONAL product is useless for me...

(sorry for my bad english but hope you can understand )

tnx...


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi,

If you need hit test support, it will be best to create composite shape that describes the geometry of the bitmap instead of using image fill styles. Take a look at the Document Object Model -> Shapes -> Custom Shapes example that comes preinstalled with Nevron Diagram for .NET for a sample implementation (focus on the CreateCoffeeCupShape method).



Best Regards,
Nevron Support Team


max max
max max
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 0, Visits: 1
tnx for your answere but i must put hundreds of little images on the drawingview. I think become too much slow then the interaction with objects...

i need to know if there is a way to know, for each object returning from hit test, the color of pixel in that mouse position... nothing more

(or a way to get that pixel color )

tnx


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search