MCPcopy Create free account
hub / github.com/Veerzeng/GraphicAlgorithm / FindBestWindowPosForPopupEx

Method FindBestWindowPosForPopupEx

SDK/imgui_master/imgui.cpp:6630–6681  ·  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.

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