VisionFlowPro/ShapeDrawer/ShapeItemPolygon.h
2023-02-28 14:50:28 +08:00

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;
};