MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ClientToScreen

Method ClientToScreen

Source/Engine/Platform/SDL/SDLWindow.cpp:819–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817}
818
819Float2 SDLWindow::ClientToScreen(const Float2& clientPos) const
820{
821 Int2 position = GetSDLWindowScreenPosition(this);
822 return clientPos + Float2(static_cast<float>(position.X), static_cast<float>(position.Y));
823}
824
825void SDLWindow::FlashWindow()
826{

Callers 3

OnWindowHitTestFunction · 0.45
GetOldMousePositionMethod · 0.45
HandleEventMethod · 0.45

Calls 2

Float2Class · 0.85

Tested by

no test coverage detected