Control:PointToScreenMonkey Targets Forums/XNA/Control:PointToScreen
| I've been doing more CLR profiling and since Mark fixed all of the draw issues, the most significant cause of allocation is the Control:PointToScreen() function.
It's a XNA thing, not a Monkey thing, so does anyone know what it does?
| Sorry for bumping an ancient thread, however! What Control.PointToScreen does is it is used by Control and objects which inherit from it to convert from a Point on the existing control's surface to screen coordinates. Seeing as how the trans XNA compiler shouldn't be using WinForms, I don't understand why this would be called at all, though...
| Thanks Nobuyuki