Function layout_2013::display_list::gradient::ellipse_radius

source ยท
fn ellipse_radius<F>(
    size: &Size2D<Au>,
    center: &Point2D<Au>,
    cmp: F,
) -> Size2D<Au>
where F: Fn(Au, Au) -> Au,
Expand description

Returns the radius for an ellipse with the same ratio as if it was matched to the sides.