Add ellipse plotter and oval drawing

This commit is contained in:
elasota
2019-12-29 02:38:41 -05:00
parent 08fac98637
commit 9e4f1f64dc
9 changed files with 558 additions and 5 deletions

View File

@@ -1,16 +1,17 @@
#pragma once
#include "IPlotter.h"
#include "PlotDirection.h"
#include "Vec2i.h"
namespace PortabilityLayer
{
class LinePlotter
class LinePlotter final : public IPlotter
{
public:
LinePlotter();
PlotDirection PlotNext();
const Vec2i &GetPoint() const;
PlotDirection PlotNext() override;
const Vec2i &GetPoint() const override;
void Reset(const Vec2i &pointA, const Vec2i &pointB);