Lines Matching refs:rect
797 // This may better be applied as a general hit-rect reduction mechanism for all widgets to ensure the area to move window is always accessible?
4690 ImRect rect(rect_pos + ImVec2(0.0f, bg_offy_up - g.FontSize), rect_pos + ImVec2(rect_size.x, bg_offy_dn));
4691 rect.ClipWith(clip_rect);
4692 if (rect.Overlaps(clip_rect))
4693 draw_window->DrawList->AddRectFilled(rect.Min, rect.Max, bg_color);
6669 // Currently the main responsibility of this function being to setup clip-rect + horizontal layout + menu navigation layer.
6684 // We don't clip with current window clipping rectangle as it is already set to the area below. However we clip with window full rect.
6743 // FIXME: The "rect-cut" aspect of this could be formalized into a lower-level helper (rect-cut: https://halt.software/dead-simple-layouts)