Search found 2 matches
- 14 Aug 2023, 14:23
- Forum: General Discussion
- Replies: 2
- Views: 1787
Re: Visual::TranslatePoint and TransformToXXX
Ok! I realized i was able to do the translation using Visual::PointToScreen with the new local position and Visual::PointFromScreen using the target element.
Still, I think those methods should be implemented in C++.
Cheers,
Still, I think those methods should be implemented in C++.
Cheers,
- 14 Aug 2023, 10:09
- Forum: General Discussion
- Replies: 2
- Views: 1787
Visual::TranslatePoint and TransformToXXX
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...