Function webrender::border::add_corner_segment
source ยท fn add_corner_segment(
image_rect: LayoutRect,
non_overlapping_rect: LayoutRect,
side0: BorderSide,
side1: BorderSide,
widths: LayoutSize,
radius: LayoutSize,
segment: BorderSegment,
edge_flags: EdgeAaSegmentMask,
h_adjacent_corner_outer: LayoutPoint,
h_adjacent_corner_radius: LayoutSize,
v_adjacent_corner_outer: LayoutPoint,
v_adjacent_corner_radius: LayoutSize,
brush_segments: &mut Vec<BrushSegment>,
border_segments: &mut Vec<BorderSegmentInfo>,
do_aa: bool,
)
Expand description
Add a corner segment (if valid) to the list of border segments for this primitive.