Function webrender::clip::rounded_rectangle_contains_box_quick

source ยท
fn rounded_rectangle_contains_box_quick(
    container: &LayoutRect,
    radii: &BorderRadius,
    containee: &LayoutRect,
) -> bool
Expand description

Return true if the rounded rectangle described by container and radii definitely contains containee. May return false negatives, but never false positives.