//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui_internal.h:3493
/// ,
/// imgui.cpp:13022
///
/// ImVec2 FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy)
///
///
///
///
/// Popups, Modals
///
///
/// 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 are enabled and monitor
/// information are available, it may represent the entire platform monitor from the frame of reference of the current viewport.
/// this allows us to have tooltips/popups displayed out of the parent viewport.)
///
///
[LibraryImport("imgui")]
public static unsafe partial float2 FindBestWindowPosForPopupEx_internal(
float2* ref_pos,
float2* size,
ImGuiDir* last_dir,
floatRect* r_outer,
floatRect* r_avoid,
ImGuiPopupPositionPolicy policy
);
}
}