stuff-from-scratch/test/graphics/TestRasterizer.cpp

21 lines
438 B
C++
Raw Normal View History

2022-05-15 13:58:31 +00:00
#include "Image.h"
#include "PngWriter.h"
#include "DrawingManager.h"
2022-05-15 15:14:04 +00:00
#include "DrawingSurface.h"
#include "DrawingContext.h"
#include "Grid.h"
#include "Rasterizer.h"
2022-08-03 20:05:01 +00:00
#include "LineSegment.h"
#include "Point.h"
2022-05-15 13:58:31 +00:00
int main()
{
DrawingManager manager;
2022-08-03 20:05:01 +00:00
manager.InitalizeSurface(200, 200);
manager.InitializeContext();
auto line = LineSegment::Create(Point::Create(10.0, 10.0), Point::Create(190.0, 190.0));
2022-05-15 13:58:31 +00:00
return 0;
}