[−][src]Function conrod_core::widget::primitive::line::rect_corners
pub fn rect_corners(a: Point, b: Point, half_thickness: Scalar) -> [Point; 4]
Given two points and half the line thickness, return the four corners of the rectangle describing the line.