It's crazy project for drawing figures in console. For drawing used Bresenham's algorithms.
Canvas canvas;
Triangle Triangle(1500, 100, 100, 1900, 2900, 1900);
canvas.FillFigure(Triangle);
Canvas canvas;
Circle Circle(1500, 1000, 900);
canvas.FillFigure(Circle);
Canvas canvas;
Box Box(100, 100, 2900, 1900);
canvas.FillFigure(Box);
Canvas canvas;
Line Line1(100, 100, 2900, 1900);
Line Line2(2900, 100, 100, 1900);
canvas.DrawFigure(Line1);
canvas.DrawFigure(Line2);
Copyright (c) SimpleStateMachine
Licensed under the MIT license.