[][src]Function conrod_core::widget::primitive::line::triangles

pub fn triangles(
    a: Point,
    b: Point,
    half_thickness: Scalar
) -> [Triangle<Point>; 2]

Given two points and half the line thickness, return the two triangles that describe the line.