16 lines
294 B
C++
16 lines
294 B
C++
#include "ShapeItemBase.h"
|
|
|
|
class ShapeItemPolygon
|
|
:public ShapeItemBase
|
|
{
|
|
public:
|
|
ShapeItemPolygon(QPolygonF polygon, ShapeMode shape_mode, QPointF pos = QPointF(0, 0));
|
|
|
|
~ShapeItemPolygon();
|
|
private:
|
|
void calculateShape() override;
|
|
void sizeChanged();
|
|
void shapeInit() override;
|
|
};
|
|
|