Function rin::graphics::path::triangle [−][src]
pub fn triangle<Point>(p0: Point, p1: Point, p2: Point) -> Path2D<Point> where
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField,
<Point as NumPnt>::Field: Float,
<Point as NumPnt>::Field: NumCast,
<Point as NumPnt>::Field: Neg,
<Point as NumPnt>::Coordinates: Neg,
<<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates,
Returns a path containing a triangle