cloud shapes added

This commit is contained in:
thepra
2017-09-09 23:24:04 +02:00
parent c2bc58b2d7
commit 6ffd2e7ecc
5 changed files with 83 additions and 1 deletions

View File

@ -22,7 +22,9 @@ class RenderArea : public QWidget
Circle,
Ellipse,
Fancy,
Starfish
Starfish,
Cloud1,
Cloud2
};
void setBackgroundColor(QColor color) { mBackgroundColour = color; }
@ -62,6 +64,9 @@ class RenderArea : public QWidget
QPointF ComputeEllipse(double t);
QPointF ComputeFancy(double t);
QPointF ComputeStarfish(double t);
QPointF ComputeCloud1(double t);
QPointF ComputeCloud2(double t);
QPointF ComputeCloudWithSign(double t,double sign);
QColor mBackgroundColour;
ShapesType mShape;
QPen mPen;