mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Add ellipse plotter and oval drawing
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user