Profile Picture

HitTest and PNG

Posted By max max 11 Years Ago
Author
Message
max max
Posted 11 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 11 Years Ago
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



Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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
Posted 11 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 11 Years Ago
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...





Similar Topics


Reading This Topic