| 8509 | } |
| 8510 | |
| 8511 | bool ImGui::IsRectVisible(const ImVec2& size) |
| 8512 | { |
| 8513 | ImGuiWindow* window = GImGui->CurrentWindow; |
| 8514 | return window->ClipRect.Overlaps(ImRect(window->DC.CursorPos, window->DC.CursorPos + size)); |
| 8515 | } |
| 8516 | |
| 8517 | bool ImGui::IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max) |
| 8518 | { |