//
// 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:3926
/// ,
/// imgui.cpp:11224
///
void ErrorCheckUsingSetCursorPosToExtendParentBoundaries()
///
///
///
///
/// Error handling, State Recovery
///
///
/// Advanced:
/// - For reference, old logic was causing issues because it meant that SetCursorScreenPos(GetCursorScreenPos())
/// had a side-effect on layout! In particular this caused problem to compute group boundaries.
/// e.g. BeginGroup() + SomeItem() + SetCursorScreenPos(GetCursorScreenPos()) + EndGroup() would cause the
/// group to be taller because auto-sizing generally adds padding on bottom and right side.
/// - While this code is a little twisted, no-one would expect SetXXX(GetXXX()) to have a side-effect.
/// Using vertical alignment patterns would frequently trigger this sorts of issue.
/// - See https://github.com/ocornut/imgui/issues/5548 for more details.
///
///
[LibraryImport("imgui")]
public static unsafe partial void ErrorCheckUsingSetCursorPosToExtendParentBoundaries_internal();
}
}