// // 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:3461 /// , /// imgui.cpp:12021 ///
ImVec2 CalcItemSize(ImVec2 size, float default_w, float default_h) ///
///
/// /// /// Basic Helpers for widget code /// /// /// [Internal] Calculate full item size given user provided 'size' parameter and default width/height. Default width is often == CalcItemWidth(). /// Those two functions CalcItemWidth vs CalcItemSize are awkwardly named because they are not fully symmetrical. /// Note that only CalcItemWidth() is publicly exposed. /// The 4.0f here may be changed to match CalcItemWidth() and/or BeginChild() (right now we have a mismatch which is harmless but undesirable) /// /// [LibraryImport("imgui")] public static unsafe partial float2 CalcItemSize_internal(float2 size, float default_w, float default_h); } }