Function layout_2013::display_list::border::inner_radii
source ยท pub fn inner_radii(
radii: BorderRadius,
offsets: SideOffsets2D<Au>,
) -> BorderRadius
Expand description
Calculates radii for the inner side.
Radii usually describe the outer side of a border but for the lines to look nice the inner radii need to be smaller depending on the line width.
This is used to determine clipping areas.