path - How to get Point.X at a Point.Y on a FlattenPathGeometry - WPF -


i have "flattenedpathgeometry" , want able specific point.x path based on specific point.y

basically need x value @ given y.

thanks in advance help.

getflattenedpathgeometry gives polygonal have consider loop points , calculating minimum distance point. if can make assumption on geometry shape or point, can speed search.

for example if path long, can speed intersecting shape circle/square centered in point. limit number of points of shape test careful intersection method expensive. you'll have measure performances stopwatch understand what's better in case.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -