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

Method FindBestWindowPosForPopupEx

dependencies/imgui/imgui.cpp:8209–8260  ·  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 5

ImClampFunction · 0.85
ImVec2Class · 0.85
ImMaxFunction · 0.85
ImMinFunction · 0.85
ImRectFunction · 0.70

Tested by

no test coverage detected