VisionFlowPro/ShapeDrawer/ShapeItemPolygon.h

16 lines
294 B
C
Raw Normal View History

2023-02-28 14:50:28 +08:00
#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;
};