MCPcopy Create free account
hub / github.com/TKazer/CS2_External / FindBestWindowPosForPopupEx

Method FindBestWindowPosForPopupEx

CS2_External/OS-ImGui/imgui/imgui.cpp:10520–10592  ·  view source on GitHub ↗

r_avoid = the rectangle to avoid (e.g. for tooltip it is a rectangle around the mouse cursor which we want to avoid. for popups it's a small point around the cursor.) r_outer = the visible area rectangle, minus safe area padding. If our popup size won't fit because of safe area padding we ignore it. (r_outer is usually equivalent to the viewport rectangle minus padding, but when multi-viewports ar

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

ImClampFunction · 0.85
ImVec2Function · 0.85
ImMaxFunction · 0.85
ImMinFunction · 0.85
ContainsMethod · 0.80
ImRectFunction · 0.70

Tested by

no test coverage detected