more shapes
This commit is contained in:
12
renderarea.h
12
renderarea.h
@ -17,7 +17,11 @@ class RenderArea : public QWidget
|
||||
Cycloid,
|
||||
HuygensCycloid,
|
||||
HypoCycloid,
|
||||
Line
|
||||
Line,
|
||||
Circle,
|
||||
Ellipse,
|
||||
Fancy,
|
||||
Starfish
|
||||
};
|
||||
|
||||
void setBackgroundColor(QColor color) { mBackgroundColour = color; }
|
||||
@ -47,12 +51,16 @@ class RenderArea : public QWidget
|
||||
|
||||
private:
|
||||
void OnShapeChanged();
|
||||
QPointF Compute(double t);
|
||||
QPointF ComputeAstroid(double t);
|
||||
QPointF ComputeCycloid(double t);
|
||||
QPointF ComputeHuygens(double t);
|
||||
QPointF ComputeHypo(double t);
|
||||
QPointF ComputeLine(double t);
|
||||
QPointF Compute(double t);
|
||||
QPointF ComputeCircle(double t);
|
||||
QPointF ComputeEllipse(double t);
|
||||
QPointF ComputeFancy(double t);
|
||||
QPointF ComputeStarfish(double t);
|
||||
QColor mBackgroundColour,mShapeColour;
|
||||
ShapesType mShape;
|
||||
double mScale,mIntervalLenght;
|
||||
|
Reference in New Issue
Block a user