MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / GetContentRegionMax

Method GetContentRegionMax

include/imgui/imgui.cpp:11707–11710  ·  view source on GitHub ↗

You should never need those functions. Always use GetCursorScreenPos() and GetContentRegionAvail()! They are bizarre local-coordinates which don't play well with scrolling.

Source from the content-addressed store, hash-verified

11705// You should never need those functions. Always use GetCursorScreenPos() and GetContentRegionAvail()!
11706// They are bizarre local-coordinates which don't play well with scrolling.
11707ImVec2 ImGui::GetContentRegionMax()
11708{
11709 return GetContentRegionAvail() + GetCursorScreenPos() - GetWindowPos();
11710}
11711
11712ImVec2 ImGui::GetWindowContentRegionMin()
11713{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected