Converts point in local control's space into window coordinates Input location of the point to convert Converted point location in window coordinates
(Float2 location)
| 1278 | /// <param name="location">Input location of the point to convert</param> |
| 1279 | /// <returns>Converted point location in window coordinates</returns> |
| 1280 | public Float2 PointToWindow(Float2 location) |
| 1281 | { |
| 1282 | location = PointToParent(ref location); |
| 1283 | if (_parent != null) |
| 1284 | { |
| 1285 | location = _parent.PointToWindow(location); |
| 1286 | } |
| 1287 | return location; |
| 1288 | } |
| 1289 | |
| 1290 | /// <summary> |
| 1291 | /// Converts point in the window coordinates into control's space |
no outgoing calls
no test coverage detected