Function webrender::border::create_border_segments

source ยท
pub fn create_border_segments(
    size: LayoutSize,
    border: &NormalBorder,
    widths: &LayoutSideOffsets,
    border_segments: &mut Vec<BorderSegmentInfo>,
    brush_segments: &mut Vec<BrushSegment>,
)
Expand description

Create the set of border segments and render task cache keys for a given CSS border.