FIXME: This is in window space (not screen space!).
| 9956 | |
| 9957 | // FIXME: This is in window space (not screen space!). |
| 9958 | ImVec2 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. |
| 9967 | ImVec2 ImGui::GetContentRegionMaxAbs() |
nothing calls this directly
no outgoing calls
no test coverage detected