Converts point in the local control's space into screen coordinates Input location of the point to convert Converted point location in screen coordinates
(Float2 location)
| 1307 | /// <param name="location">Input location of the point to convert</param> |
| 1308 | /// <returns>Converted point location in screen coordinates</returns> |
| 1309 | public virtual Float2 PointToScreen(Float2 location) |
| 1310 | { |
| 1311 | location = PointToParent(ref location); |
| 1312 | if (_parent != null) |
| 1313 | { |
| 1314 | location = _parent.PointToScreen(location); |
| 1315 | } |
| 1316 | return location; |
| 1317 | } |
| 1318 | |
| 1319 | /// <summary> |
| 1320 | /// Converts point in screen coordinates into the local control's space |
no outgoing calls
no test coverage detected