MCPcopy Create free account
hub / github.com/clementgallet/libTAS / GetContentRegionMax

Method GetContentRegionMax

src/external/imgui/imgui.cpp:9958–9964  ·  view source on GitHub ↗

FIXME: This is in window space (not screen space!).

Source from the content-addressed store, hash-verified

9956
9957// FIXME: This is in window space (not screen space!).
9958ImVec2 ImGui::GetContentRegionMax()
9959{
9960 ImGuiContext& g = *GImGui;
9961 ImGuiWindow* window = g.CurrentWindow;
9962 ImVec2 mx = (window->DC.CurrentColumns || g.CurrentTable) ? window->WorkRect.Max : window->ContentRegionRect.Max;
9963 return mx - window->Pos;
9964}
9965
9966// [Internal] Absolute coordinate. Saner. This is not exposed until we finishing refactoring work rect features.
9967ImVec2 ImGui::GetContentRegionMaxAbs()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected