MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / FindBestWindowPosForPopupEx

Method FindBestWindowPosForPopupEx

CPPScripts/External/ImGui/imgui.cpp:11914–11986  ·  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
ImRectFunction · 0.70
ContainsMethod · 0.45

Tested by

no test coverage detected