MCPcopy Create free account
hub / github.com/Raikiri/LegitEngine / FindPlatformMonitorForRect

Method FindPlatformMonitorForRect

dependencies/imgui/imgui.cpp:10815–10844  ·  view source on GitHub ↗

Search for the monitor with the largest intersection area with the given rectangle We generally try to avoid searching loops but the monitor count should be very small here FIXME-OPT: We could test the last monitor used for that viewport first, and early

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ImMaxFunction · 0.85
ImRectFunction · 0.70

Tested by

no test coverage detected