Visual::TranslatePoint and TransformToXXX
Posted: 14 Aug 2023, 10:09
Hi there! I was trying to convert coordinates from 1 visual to another, in C# I can use the TranslatePoint method (which in C++ doesn't exist) or the TransformToAncestor/TransformToVisual which returns a Transform that I can use. But in C++, TransformToXXX methods return a Matrix4 object and I can't see any way to transform a Point using it.
Could you tell me if I am going through a wrong direction here? I am quite new to XAML so maybe there is another way of transforming coordinates.
Thanks,
Could you tell me if I am going through a wrong direction here? I am quite new to XAML so maybe there is another way of transforming coordinates.
Thanks,