This commit is contained in:
thepra
2017-08-28 13:08:42 +02:00
parent 7a0b812869
commit 2ba6957f93
6 changed files with 51 additions and 19 deletions

View File

@ -16,7 +16,8 @@ class RenderArea : public QWidget
Astroid,
Cycloid,
HuygensCycloid,
HypoCycloid
HypoCycloid,
Line
};
void setBackgroundColor(QColor color) { mBackgroundColour = color; }
@ -38,6 +39,7 @@ class RenderArea : public QWidget
QPointF ComputeCycloid(double t);
QPointF ComputeHuygens(double t);
QPointF ComputeHypo(double t);
QPointF ComputeLine(double t);
QPointF Compute(double t);
QColor mBackgroundColour,mShapeColour;
ShapesType mShape;