| 7812 | } |
| 7813 | |
| 7814 | bool ImGui::IsRectVisible(const ImVec2& size) |
| 7815 | { |
| 7816 | ImGuiWindow* window = GImGui->CurrentWindow; |
| 7817 | return window->ClipRect.Overlaps(ImRect(window->DC.CursorPos, window->DC.CursorPos + size)); |
| 7818 | } |
| 7819 | |
| 7820 | bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max) |
| 7821 | { |