Top "Hittest" questions

Hit-testing (hit detection, picking, or pick correlation) is the process of determining whether a given object intersects another given object shape, line, or curve drawn on the screen.

WPF UserControl HitTest

I have the following user control: a dot and its name: <UserControl x:Class="ShapeTester.StopPoint" xmlns="http://schemas.…

wpf user-controls hittest
Problem with VisualTreeHelper.HitTest in WPF

I'm trying to hit-test a bunch of UserControls on a Canvas. I don't want the HitTest() to walk the whole …

wpf hittest visualtreehelper
Detect touches only on non-transparent pixels of UIImageView, efficiently

How would you detect touches only on non-transparent pixels of a UIImageView, efficiently? Consider an image like the one below, …

iphone ios image-processing uiimageview hittest
UIView's -hitTest:withEvent: called three times?

I am trying to intercept any activity (i.e. touches) that happens inside my whole application. In other words, I …

iphone events uiview hittest
Show series value over any point on chart using tooltip c#

So I've seen lots of examples on using tooltip to show chart data when hovering over a data point, but …

c# charts tooltip hittest
Hit Testing in WPF

I have an Ellipse on a Canvas and I'm doing Hit Testing on it. Every time I click the stroke …

c# .net wpf graphics hittest
Identifying the Type of Touch Gestures from UIEvent Object

Is there a way to gain the type of touch gestures that triggered a UIEvent? So, let's say I intercept …

iphone ios hittest uievent
How to get UIView given a CGPoint?

I am trying to find a way to get a particular UIView given a CGPoint. Briefly, I want to do …

objective-c ios uiview touch hittest